Value Hosting, Best Overall Hosting, Most Reliable Hosting, Best Customer Support, Best Budget Hosting, Best Linux Hosting, Best Developer Hosting, Best Blog Hosting and Best Green Hosting.
Rabu, 14 September 2011
How to create your first XHTML document - XHTML Video Tutorial
There are several required elements that must be included in every XHTML page.
First, every XHTML document must have a DOCTYPE or Document Type Declaration.
The next element you have to enter is html tag paid. It must contain every other tag in document, except for DOCTYPE.
In all HTML documents, you must specify an xmlns value for html . This needs to be set of the value seen by you. This and DOCTYPE will tell the browser that coding is in XHTML.
You may specify document language, but it is optional. Use lang attribute for it. As it is a XHTML document, you need to set xml:lang attribute to same value.
Remember, close html element before completion of coding.
head element of (X)HTML document is container of important information and settings. head ontains a title element, even if its left empty or blank. title element controls the title, which someone will see in browser title bar, favorite list and Search Engine results. You should put something in it.
Then comes body of text. Put matter inside body tag. Never put direct text in this tag, but instead, an element that's meant to contain text should be added.
This is skeleton of XHTML document.
Langganan:
Posting Komentar (Atom)
Tidak ada komentar:
Posting Komentar