Tag Archives: Parent Element

Integrating index.php file with header.php file

I’m trying to utilize a separate php file to create a header, which will be common to any or all my pages. It is working, once i try to verify my PHPNETindex. php/PHPNET page I’m getting an error saying: Tier 96, Column 70: document type will not allow element " html" the following < html> The element branded above was present in a context where it is not allowed. This implies you have inappropriately nested elements — maybe a " style" element inside " body" section rather than inside " head" — or not one but two elements that overlap (which isn’t allowed). One common cause due to this error is the application of XHTML syntax throughout HTML documents. On account of HTML’s rules connected with implicitly closed elements, this error can make cascading effects. Such as, using XHTML’s " self-closing" tags to get " meta" and " link" inside " head" section of a HTML document could potentially cause the parser to infer the final of the " head" section and the start of " body" area (where " link" and " meta" aren’t allowed; hence your reported error). Tier 169, Column EIGHT: end tag with regard to " … Continue reading

Posted in Web Design | Tagged , , , , , , , , , , , , , , , , , , | Leave a comment