Categories:
.NET (357)
C (330)
C++ (183)
CSS (84)
DBA (2)
General (7)
HTML (4)
Java (574)
JavaScript (106)
JSP (66)
Oracle (114)
Perl (46)
Perl (1)
PHP (1)
PL/SQL (1)
RSS (51)
Software QA (13)
SQL Server (1)
Windows (1)
XHTML (173)
Other Resources:
What Happens If the TITLE Element is Missing
What Happens If the TITLE Element is Missing? - XHTML 1.0 Tutorials - Document Structure and Head Level Tags
✍: FYIcenter.com
XHTML 1.0 requires you write the title element inside the head element. If you forget to include the title element, the XHTML validator will return an error to you. Here is how you can test this yourself.
Go the W3 XHTML validator Web site: http://validator.w3.org/. Copy and paste the following sample HTML document to the input area:
<?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html> <head> <base href="http://dev.fyicenter.com/" /> <meta name="Author" content="FYIcenter.com" /> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> <script type="text/javascript" src="/_local.js""></script> <link rel="stylesheet" type="text/css" href="/_fyi.css" /> </head> <body> <p></p> </body> </html>
Click the "Check" button, you will get the following error:
Error Line 12 column 7: end tag for "head" which is not finished. </head>
2007-05-12, 4827👍, 0💬
Popular Posts:
Write an equivalent expression for x%8? x&7
How To Set session.gc_divisor Properly? - PHP Script Tips - Understanding and Using Sessions As you ...
How To Check the Oracle TNS Settings? - Oracle DBA FAQ - ODBC Drivers, DSN Configuration and ASP Con...
How does one iterate through items and records in a specified block? One can use NEXT_FIELD to itera...
How To Export Data to a CSV File? - Oracle DBA FAQ - Introduction to Oracle SQL Developer If you wan...