Tags

July 2, 2008

Tags are the basis of HTML. There are two types of tags: an open tag <, which declares the beginning of a tag, and a closed tag >, which declares the end of a tag. If you wanted text to be bold, you’d use this tag, the bold tag: <b>TEXTHERE</b>

Would produce: TEXTHERE. There are many different types of tags that you use in HTML, which we’ll go over more thoroughly in other lessons. Remember, in order to close a tag after you’re done put a / after the open tag. (</) There are some exceptions, but keep that as a rule of thumb. These are some text formatting tags:

Text Formatting
<b>TEXT</b> : TEXT : Boldface/Strongface
<i>TEXT</i> : TEXT : Italics/Emphasis
<u>TEXT</u> : TEXT : Underline
<s>TEST</s> : TEXT : Strikeout

By now you should be able to:

  • Write a one-paragraph excerpt

Tomorrow we’ll go over lots of the other tags that contain your HTML: <html>, <body>, and <head>! So long, and also how to save your HTML piece! Feel free to comment with questions.

Leave a Reply