HTML Definition and Tags

HTML Definition and Tags

Stands for “Hyper-Text Markup Language.” This is the language that Web pages are written in. Also known as hypertext documents, Web pages must conform to the rules of HTML in order to be displayed correctly in a Web browser. the coding used to include colour, language, and graphics on a webpage. The HTML syntax is based on a list of tags that describe the page’s format and what is displayed on the Web page.

Important tags used in HTML:

  • <html> </html> The main tag
  • <head> </head> header tag
  • <body> </body> body tag
  • <font> </font> sets font color, size, type
  • <img> </img> used to add image
  • <a> </a> linking tag
  • <marquee> </marquee> make text move
  • <blink> </blink> make text blink
  • <b> </b> makes the font bold
  • <center> </center> aligns things in center
  • <br> break line tag
  • &nbsp; space tag
  • <p> </p> define paragraph
  • <H1> </H1> makes the font as a heading
  • <H2> </H2> makes the font as a heading
  • <H3> </H3> makes the font as a heading
  • <H4> </H5> makes the font as a heading
  • <H5> </H5> makes the font as a heading
  • <u> </u> underlines the font
  • <i> </i> makes the font italic
  • <pre> </pre> to create pre formated text
  • <form> </form> define forms
  • <textarea> </textarea> shows text area
  • <input> </input> creates form types
  • <select> </select> used to create combo box
  • <meta> meta tags are used to redirect, refreh pages
  • <iframe> </iframe> used to create internal frames
  • <strike> </strike> makes striked text or word
  • <ul> </ul> used to list things
  • <li> </li> used to list things
  • <table> </table> to define table
  • <tr> </tr> table row inside table
  • <td> </td> table column inside row
  • <hr> horizontal line tag
  • <embed> </embed> Embed audio in web page
  • <input type=”image”> button as an image
  • <area> </area> Links using the image
  • <fieldset> </fieldset> Fieldset with legend
  • <!DOCTYPE> Document Type Definiton
  • <ol=”value”> Bullet styles
  • <acronym> </acronym> Acronym tag
  • <a href title=”value”> Create Tooltip
  • <canvas> Canvas
  • <object> </object> Include video in web page
  • <frameset> </frameset> Frameset
  • <iframe> </iframe> Inline frame
  • <meta> Meta tag for page ranking
  • <sub> </sub> Subscript and superscript
  • <phrase> <phrase> Phrase tag

A common format of HTML code for a website looks like this:

<html>
<head>
<style>
h1.intro {color:blue;}
p.important {color:green;}
</style>
</head>
<body>

<h1>Header 1</h1>
<p>A paragraph.</p>
<p>Note that this is an important paragraph. :)</p>

</body>
</html>

Share this post
[social_warfare]
Instructional Writing
SEO Explained

Get industry recognized certification – Contact us

keyboard_arrow_up