1.866.PIXELMILL (1.866.749.3564 US/Canada)

Search Support

Search our knowledgebase? Enter keywords or article id:

> go to search support


Support Index


Help and Support


Search

Go back to search results

Enter keyword or id#:




Promotions


Quick Links

Printable Article

HTML Elements and Tags

Article ID: KB101440

A quick review...

  • Tags are words or abbreviations inside of angle brackets, such as "<body>."
  • Tags often come in pairs, with a start tag (<body>) and an end tag (</body>).
  • A start tag and end tag, with all the content in between them, make an element.

Tag Attributes...

Tags can have additional information inside the angle brackets that help to provide additional information about an element, called attributes.

For example, the paragraph tag is: <p>. The paragraph tag has some attributes that can be defined. For example, you can define a paragraph to be center-aligned by typing:

<p align="center">This paragraph is centered.</p>

"Align" is the name of the attribute. "Center" is the value of the "align attribute." The value is usually enclosed in quotes ("). You can use either double quotes (") or single quotes (').

Here's another example of a tag with defined attributes:

<body bgcolor="red" topmargin="0" leftmargin="0" rightmargin="0">

The BODY tag has several different types of attributes (even more than are displayed here!). In the example above, we have the BGCOLOR (background color), TOPMARGIN, LEFTMARGIN, and RIGHTMARGIN attributes defined.

Empty tags...

Some tags do not have a closing tag and are called empty tags. For example, the tag to insert a line break is <br>. There is no need to insert a closing tag for "<br>."

Are you ready to learn?

This concludes the intro to "Learn HTML." You now know the basics about the Web and HTML. The next series of articles will cover different HTML elements and how to put them together to make a web page!


Was this helpful?

Please rate this article:

Not helpful Very helpful
1 2 3 4 5 6 7

Email address: (not required)

(Please provide your email address if you would like PixelMill support to follow-up with you about your comment. You're email address is NOT REQUIRED to submit a comment.)

Comments: (How can we improve this article?)


Clicking "Submit" will not clear this page.


link to this page: http://www.pixelmill.com/support/al1046/kb101440.htm
permalink to this article: http://www.pixelmill.com/support/kb101440.htm

Back to top

Items you recently viewed:


pm46519htdl1
$98.00

pm45887dwdl1
$94.00

pm45779fpdwtdl1
$87.00

pm46207fpdwtdl1
$98.00


PixelMill EDU

Introducing...

PixelMill EDUâ„¢ is an innovative and proprietary online training series designed to aid the do-it-yourself Web builder in transitioning to new Web editors, coding standards, and Web technologies.

Webinars and Seminars:

FrontPage to SharePoint Designer Series
This is a 6-Week series designed to give you strong exposure to the new SharePoint Designer web editor and interface, along with examples of working with Windows SharePoint Services and tips for transitioning from FrontPage.
Register Now!

Tables to Tableless CSS Series
This is a 6-Week series designed to help you transition from building Tables-based Web site layouts to working with CSS to edit and build Tableless Web site layouts. For all Web builders using Dreamweaver, Expression Web, or any other web editor.
Register Now!

FrontPage to Expression Web Series
This is a 6-Week series designed to give you strong exposure to the new Expression Web software and interface, along with tips for transitioning from FrontPage.
Register Now!

Learn more and register!

ADVERTISEMENT
adventisement