What is HTML?
Print this Article
Comment on this Article
Last Updated:
January 18, 2008 4:11 PM
HTML (or XHTML) is a coding language used to create Web pages. With HTML, you surround a block of text with "tags" that indicate how the text should appear or what purpose it has in a document. For example:
<h1>This is a Heading</h1>
<p>This is a paragraph in an HTML document.
There is a "p tag" at the beginning of this paragraph
and a closing "p tag" at the end.
These tags tell the Web browser how to display this text.</p>
<p>This is a paragraph in an HTML document.
There is a "p tag" at the beginning of this paragraph
and a closing "p tag" at the end.
These tags tell the Web browser how to display this text.</p>
See Where can I learn more about HTML? for links to Web sites with more information about using HTML.