d2jsp
Log InRegister
d2jsp Forums > Off-Topic > Computers & IT > Programming & Development > Html Tidy For Firefox
Add Reply New Topic New Poll
Member
Posts: 12,348
Joined: Jun 30 2007
Gold: 1,573.00
Trader: Trusted
Nov 21 2013 12:11am
Hi guys i got a quick question

I have to use the htmll tidy addon for firefox or the http://validator.w3.org/ for my web site and i keep running into this error


Line 1, Column 15: Element head is missing a required instance of child element title.

<!doctype html>

Content model for element head:
If the document is an iframe srcdoc document or if title information is available from a higher-level protocol: Zero or more elements of metadata content, of which no more than one is a title element and no more than one is a base element.
Otherwise: One or more elements of metadata content, of which exactly one is a title element and no more than one is a base element.

this is my coding for my head

<!DOCTYPE html>
<html lang="en">

<head>
<meta charset="UTF-8">
<title>Understanding the web</title>
<link href="style.css" rel="stylesheet" type="text/css">
</head>

not sure why its giving me this error

Member
Posts: 2,736
Joined: Nov 28 2009
Gold: 34.00
Nov 21 2013 06:26am
I'm not getting that error when checking against UTF-8 with HTML5. If we can't reproduce, how could we help?
Member
Posts: 2,217
Joined: Sep 10 2007
Gold: 35.88
Nov 21 2013 10:33am
Looks good to me.



The 2 warnings were not anything pertaining to the code.

Quote

    Info Using experimental feature: HTML5 Conformance Checker.

    The validator checked your document with an experimental feature: HTML5 Conformance Checker. This feature has been made available for your convenience, but be aware that it may be unreliable, or not perfectly up to date with the latest development of some cutting-edge technologies. If you find any issues with this feature, please report them. Thank you.

    Info Using Direct Input mode: UTF-8 character encoding assumed

    Unlike the “by URI” and “by File Upload” modes, the “Direct Input” mode of the validator provides validated content in the form of characters pasted or typed in the validator's form field. This will automatically make the data UTF-8, and therefore the validator does not need to determine the character encoding of your document, and will ignore any charset information specified.

    If you notice a discrepancy in detected character encoding between the “Direct Input” mode and other validator modes, this is likely to be the reason. It is neither a bug in the validator, nor in your document.
Go Back To Programming & Development Topic List
Add Reply New Topic New Poll