HTML (HyperText Markup Language) is a simple markup language. An HTML file is used to develop a single page of content on the Web. Special markers are used in HTML to indicate different kinds of text like headings.
HTML is used for plain text. Plain text consists of letters of the alphabet, numbers and a few symbols (+,!,+,%,^). You can use Plain Text Editors as you work directly with the HTML code, which will enable you to understand how the code relates to text on the Web page. Some programmers work with WYSIWYG editors, which can be time savers, but if you really want to write the best HTML it's best to work with raw code.
Format[edit | edit source]
<html> <head> <title>A sample document</title> </head> <body> <h1>About this document</h1> <p> This is a sample and s<em>i</em>mple HTML document </p> </body> </html>
HTML, like XML, consists of text data, enclosed in tags that tell what the text data is. The outermost tag is always <html>, which is spit into <head> and <body>. Everything in the head tag is metadata, stuff that will not be displayed on the page. Stuff in the body tag will be shown to the user.