What is an HTML “tag”?

HTML is written in “tags”. This is “markup text” as opposed to the “actual text” that you wish to display. HTML tags start with a “<” and end with a “>”.

For example:

  • <html> – it is used to indicate the start of the html file
  • <p> – it is used to indicate the start of a paragraph
  • <b> – it is use to indicate the start of BOLD text
  • </b> – it is use to indicate the end of BOLD text (note the “/” – this is what differentiates it from the start marker.

Here is some VERY basic example code:

<html>
<p>This is part is plain text. <b> This part is in bold. </b> And this part is plain text.
</html>

The RESULT would be:

This is part is plain text. This part is in bold. And this part is plain text.

As you can see the tags are NOT shown in the result. They FORMAT the text, they are not DISPLAYED in the text.