WebsiteGear Logo Log In
New User? Sign Up
About | Contact | FAQ
  Home Content Site Development Website Technology Monday, June 24, 2019 
Print| Email| Save| Discuss| Feeds


HTML Elements
Published: Monday, November 3, 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 The 5 Best Website Elements That More Than 90% of Consumers Want - Plus, the Top 25 Web Design Agencies of 2019
95 percent of consumers say the most important aspect of a professional website is a positive user experience. DesignRush rounded up the top website features that foster excellent UX and strong conversions, and the best website development companies who can build them.
News Post Testin presents at CVPR; Empowers AI enterprises with high quality training data.
LONG BEACH, Calif., June 24, 2019 /PRNewswire/ -- From June 16-20, 2019, IEEE CVPR 2019, one of the largest computer vision c...
News Post FreshGrade Launches 'FreshGrade Next' to Spark Deeper Conversations About Learning
Newest offering combines FreshGrade functionalities into learning network organized around deeper learning, instructional leadership and family engagement
News Post Leading Magento Web Design Firms Receive June 2019 Awards from 10 Best Design
A lot of consumers prefer the convenience of online shopping, and business owners know that they need to get in on the game by choosing the best Magento web design firm to build them a site for eCommerce. Finding such a firm is faster and easier, thanks to the new monthly awards category created by 10 Best Design.
News Post Alibaba's new presence highlights Chongqing Liangjiang New Area's passion for entrepreneurship, innovation
CHONGQING, China, June 24, 2019 /PRNewswire/ -- Aliyun Innovation Center (Chongqing) was officially launched in Chongqing Lia...
Submit News | View More NewsView more news
RELATED CLASSIFIED ADS
Classified Ad HTML TAGGING PROJECT CONVERSION AVAILABLE
We have developed HTML Tagging Conversion software which can convert any TIFF Frech Srcipt Image to ...
Classified Ad Get OpenCart E-commerce Website with 20 % Discount
Inception System is the Leading E-commerce solutions Provider Company which has vast experience in O ...
Classified Ad Web-Software Development | Mobile App | Ecommerce
Rightway Solution started off with servicing clients in Responsive Web Development and E-commerce De ...
Classified Ad Opencart Development Services at Affordable Price
Inception System is premium eCommerce Web Development Company offering the efficient Opencart web de ...
Classified Ad Free business cards design and shipping!
Contact us: 514-691-9486 Business Cards 18Pts. PLASTIFIED Full Color 2 sides Canada only $ 79 ...
Post Free Ad | View More View more classifieds
RELATED FORUM POSTS
Forum Post How to convert psd into html?
Please let me know how to convert psd into html? I want to create a design from photoshop! ...
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 HTML to enhance my javascript menu
To anyone that can help me I would really appreciate it! I have a javascript menu on a couple of ...
Forum Post HTML TAGGING PROJECT CONVERSION 100% QUALITY
We can process Image/TIF/GIF files to html format. We have developed HTML Tagging Conversion Softwa ...
Forum Post DIY photo collage yearbook with digital photos
Christmas is coming and a year also comes to its end right away. From beginning to end, from spring ...
Add New Post | View More View more forum posts
POPULAR ARTICLES
Nav How To Sell A Website
Nav Subdomain Configuration - How To Setup A Sub Domain
Nav Domain Configuration - How To Setup A Domain Name
Nav Website Layout - Tips & Tricks
Nav Round Robin DNS Load Balancing
Nav Introduction To Server Load Balancing
Nav Website Traffic & Revenue
Nav Tips On Using SubDomain
FEATURED NEWS | POPULAR NEWS