Common HTML Element Tags

by Alana on February 23, 2009

in 2009


What are Elements and Tags?

Elements are any matching pair of opening and closing tags or single tags that do not require a closing tag, they are the little symblos you will see before and after content in your html document

For example if you want to make the words “elements and tags” bold in your document you would enter this:


and you should get this: elements and tags

If you want to make it italic also you would use this:


and you should get: elements and tags


If you want to make a piece of text centered on your page your would use


And you will get this:

Elements and Tags

Although using the center tags will work, it is not used much anymore



Here are a few commonly used tags to get started with


BOLD

ITALIC
CENTER


Here are some other basic tags and their uses


<br/>
Line break (does not require a closing tag)

<h1> to <h6>
Page headings from biggest to smallest

<hr>
Horizontal rule

<p>
Paragraph

<strong>
Also makes text bold

<ol> and <ul>
Ordered list and unordered list

<li>
List item

For now that is enough to give you an idea of elements and tags to customize the layout of your content. There are many more that you will come across in your HTML document later on

Leave a Comment

This site uses KeywordLuv. Enter YourName@YourKeywords in the Name field to take advantage.

Previous post:

Next post: