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]

     <title>A sample document</title&gt
    <h1>About this document</h1>
      This is a sample and s<em>i</em>mple HTML document

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.

Community content is available under CC-BY-SA unless otherwise noted.