WebsiteGear Logo Log In
New User? Sign Up
About | Contact | FAQ
  Home Content Site Development Website Technology Saturday, May 10, 2008 
POPULAR ARTICLES
Nav Subdomain Configuration - How To Setup A Sub Domain
Nav Website Layout - Tips & Tricks
Nav Round Robin DNS Load Balancing
Nav Domain Configuration - How To Setup A Domain Name
Nav Introduction To Server Load Balancing
Nav Server Load Balancing Methods
Nav Tips On Using SubDomain
Nav Breadcrumb Navigation
FEATURED NEWS | POPULAR NEWS
View More News View More News
SPONSORED LINKS
Print| Email| Save| Discuss| Feeds


HTML Elements
Published: Monday, November 03, 2003












Check

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.



Check

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.



  1. <b>..</b> :


    Bold Text Style Element - It makes the content text bold.





  2. <i>.. </i>:


    Italic Text Style Element - It displays the content in italic style.





  3. <br> :


    Forced Break Line Element - It creates a line break. No content for this element.





  4. <center>..</center> :


    Center Alignment Style Element - This aligns the content in the center.





  5. <hr> :


    Horizontal Rule Element - It draws a horizontal line. No content for this element.






  6. <p>.. </p>:


    Paragraph Element - It formats the content into a new paragraph.





  7. <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.





  8. <u>.. </u>:


    Underlined Text Style Element - This will underline the text within the element.





  9. <font>.. </font>:


    Font Element - This sets the font, size and color of text in its content.






Previous Article HTML - Introduction HTML Attributes Next Article
Print| Email| Save| Discuss| Feeds
RELATED ARTICLES
Nav 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
News Post eLong to Announce First Quarter 2008 Unaudited Financial Results on May 28, 2008 at 8:00 pm Eastern Time
BEIJING , May 9 /Xinhua-PRNewswire/ -- eLong, Inc. (Nasdaq: LONG), a leading online travel service provider in China , today...
News Post Republican National Committee: Obama's Faulty Tax Argument
WASHINGTON , May 9 /PRNewswire-USNewswire/ -- The following op-ed was released today by the Republican National Committee. It...
News Post Renowned Exchange 2007 Expert Joins ENow
ORANGE, Calif. , May 9 /PRNewswire/ -- ENow Inc, innovative leaders in deploying Microsoft Exchange 2007 solutions, today ann...
News Post MultiVu Recognizes the Most Creative Uses of Multimedia
NEW YORK , May 9 /PRNewswire/ -- A campaign to get a footwear company "Back in the Game," another to raise social awareness t...
News Post DemoWolf Offers 44 New Tutorials
May 8, 2008 -- ( WEB HOST INDUSTRY REVIEW) -- Web hosting tutorial developer DemoWolf announced on Thursday that it has relea...
Submit News | View More NewsView more news
RELATED CLASSIFIED ADS
Classified Ad Web hosting reviews and discount coupons
http://www.hostingdiary.comWebHostingDiary is a popular blog providing web hosting news, reviews and ...
Classified Ad Internet Marketing India
Internet Marketing India Using the interactive technologies available via the Internet to furth ...
Classified Ad Web Design, Development, E-Commerce Sol.
At mindavenues, we specialize in website designing, strategic planning, and Content Development. Our ...
Classified Ad cPanel, Directadmin, or Plain linux VPS Plans
Virtual Private servers from $17.99 - Empire Technology For a limited time Empire Technology is o ...
Classified Ad Web design and development service from Sunsoft
We offer software development solutions, such as web design, web development, graphical design, flas ...
Post Free Ad | View More View more classifieds
RELATED FORUM POSTS
Forum Post html code help
I have been trying to use a code for media on my website however the Window media player comes up on ...
Forum Post How do you use PSD templates as web sites?
I have used HTML, free templates before but although i can edit PSD templates easily using photoshop ...
Forum Post Blank space under web poll
Hi again! Why is it so much blank space under the poll window? (See http://lemachin.bleublog.ch/pip ...
Forum Post Need some help in photoshop while creating a web.
i am creating a website on music, i have selected a template from a website but i don`t know the fur ...
Forum Post Freeware to document IT infrastructure for SQL
I just started using this good free software that lets you document your entire IT infrastructure. ...
Add New Post | View More View more forum posts


Copyright © 2003-2008 WebsiteGear Inc. All rights reserved.
About | Advertise | Submit Content | Privacy | Agreement | Contact