First things first…
What are HTML tags?
Tags are labels that you use to mark up the begining and the end of an element.
All tags have the same format: they begin with a “<” and end with a “>”
(yes… same as math class greater than and less than)
Generally, there are two kinds of tags – opening tags: and closing tags: . The only difference between an opening tag and a closing tag is the forward slash “/”. You label content by putting it between an opening tag and a closing tag.
HTML Revolves around elements if you can learn to use these elements, tags in particular then you’re halfway to becoming a web designer. Not a good one but we’ll help get you there.
Examples of HTML Tags
(You’re actually looking at one right now)
It’s called the heading tag. I used the h5 tag in the above example. The code itself looks like this
<h5>Examples of HTML Tags</h5>
The elements h1, h2, h3, h4, h5 and h6 are used to make headings, h1 is the first level and normally the largest text, h2 is the second level and normally slightly smaller text, and h6 is the sixth and last in the list and normally the smallest text.
For more tags and their usage click here and click the “Common HTML Code” tab
This is a heading
<h1>This is a heading</h1>
This is a subheading
<h2>This is a subheading</h2>