I know this might sound like a stupid question, but i have a .php file in which I’m using html tags combined with php code. Nothing is included withing the <html> tag and yet all the html elements seem to be displayed just fine. So what’s the use of this tag? Does including the <html> tag actually make a difference?
I know this might sound like a stupid question, but i have a .php
Share
The start and end tags for the
htmlelement are defined as being optional (and will be inserted by the parser if the context demands that the element starts or finishes). However, if you don’t have a start tag forhtmlthen you can’t put alangattribute on it, and you should include alangattribute.