|
|
 |
HTML Elements
Published: Monday, November 03, 2003
 | What are HTML Elements? HTML elements are structures or behaviors that formulate the HTML document. An element generally consists of 3 parts - a start tag (e.g. <title>), content and an end tag (e.g. </title>). - Elements and tags are not the same.
- Elements are case-insensitive, but it is better to use lower case.
- Most elements contain a start tag, content and an end tag (e.g. <title>) .
- Many elements have no content (e.g. <br>).
- Elements without content can be closed by /> at the end (e.g. <br />) though it is
not required. - All elements without end tags are closed by the beginning of the next element's
start tag. - It is a good coding practice to close all elements with content with an end tag.
Most browsers are intelligent enough to format the document without proper end tags and forgive coder mistakes.
|
 | Most commonly used HTML elements Here is a list of commonly used elements for formatting text and styling. More of the elements will be discussed in detail later. <b>..</b> : Bold Text Style Element - It makes the content text bold.
<i>.. </i>: Italic Text Style Element - It displays the content in italic style.
<br> : Forced Break Line Element - It creates a line break. No content for this element.
<center>..</center> : Center Alignment Style Element - This aligns the content in the center.
<hr> : Horizontal Rule Element - It draws a horizontal line. No content for this element.
<p>.. </p>: Paragraph Element - It formats the content into a new paragraph.
<pre>.. </pre>: Preformatted Text Element - It displays the content as is. Use this for displaying preformatted text. There is no need to add HTML page breaks or paragraph elements in the content.
<u>.. </u>: Underlined Text Style Element - This will underline the text within the element.
<font>.. </font>: Font Element - This sets the font, size and color of text in its content.
|
|
 |
|
|
 |
|
|
|
|
|
RELATED ARTICLES
|
 |
HTML Tutorial - Introduction
HTML stands for Hyper Text Markup Language. It is the publishing language of the World Wide Web (WWW). Learn about HTML in this tutorial.
|
|
|
|
RELATED NEWS
|
 |
Affiliate Marketing Sales Contests for the Holidays from Experience Advertising
SUNRISE, Fla., Nov. 20 /PRNewswire/ -- Experience Advertising, a leader in outsourced affiliate program management , has anno...
|
 |
Harlequin Comics Now Available on Amazon's Kindle
Manga romances also now carried by North American mobile providers
|
 |
Himfr Evaluates Toshiba's New LCD TV 46SV650C
BEIJING , Nov. 20 /PRNewswire-Asia/ -- Himfr.com, one of China's leading B2B search platforms with more than 30 B2B indu...
|
 |
PITCHfest, LAUNCHfest Contests to Debut at DOMAINfest Global 2010 Conference
- Competitors will present innovative products, services and web development ideas -
|
 |
LightSource Poll - Empire State Edition by KJT Group Shows New Yorkers are United on Importance of Unemployment but Divided on Solution
HONEOYE FALLS, N.Y., Nov. 20 /PRNewswire/ -- While New York State Residents, across Upstate, Downstate and New York City (NYC...
|
|
Submit News |
View More News
|
|
|
|
RELATED CLASSIFIED ADS
|
 |
Macromedia flash website design
Are you looking for Macromedia flash website design? We are an experienced India based company, offe ...
|
 |
Website Design Company. Web Design, eCommerce, SEO
Global Website Designing is a website develpment and http://www.globalwebsitedesigning.com/search-en ...
|
 |
Milestone Data - We make sense of your site!
HTML, PHP, SEO, SEM, sound like alphabet soup? Don’t worry and let us
handle it. Milestone Data i ...
|
 |
Graphic & Webdesign for dance groups & schools
Matuti is a freelance service that provides a friendly, professional and customized design especiall ...
|
 |
Graphic Designer Wanted
We are one of the fastest growing, most cutting edge agencies in the world, working with many Fortun ...
|
|
Post Free Ad |
View More
|
|
|
|
|
Copyright © 2003-2009 WebsiteGear Inc. All rights reserved.
About |
Advertise |
Submit Content |
Privacy |
Agreement |
Contact
|
|
|
|
|