HTML Tags

The  main structural HTML tags are

  • <HTML> </HTML> – This tells the browser where the HTML pages starts amd stops.
  • <Head> </Head> – This is the header of the HTML page it is not displayed but contains information that is required for the page to be displayed properly.
  • <Title> </Title> – This is the title of the page, it is displayed in the tab at the top of the screen.
  • <Body> </Body> – The contents of the page are contained here/
  • <p> – Takes a new paragraph
  • <!– Comment –> – This is a comment for the designer and is not displayed in the browser.

The main formatting tags are

  • <Font color =”green”> green text </font> – This changes the colour of the text, note the American spelling. Colours can be described by name or by a hexadecimal reference.
  • <font face=”Tahoma”> Fancy fonts </font> – You can change the font the text is displayed in.
  • <b></b> – Embolden the text.
  • <i></i> – Italics the text
  • <u></u> – Underline the text
  • <H1>..<H7> – Set the text as a header and specify a type
  • <sup>2</sup> – Display as supertext (think squares)
  • &nbsp – Display a non blank space

Leave a Reply

Your email address will not be published. Required fields are marked *