Home arrow HTML arrow Page 2 - Beginning HTML
HTML

Beginning HTML


Ask anyone who invented the Internet, and they will likely look at you and shake their head in confusion, even though most people couldn't live without it for a day. Of course, if you asked Al Gore, he would say he did. But the people who really invented the Internet are also important for another, related reason.

Author Info:
By: James Payne
Rating: 4 stars4 stars4 stars4 stars4 stars / 6
January 08, 2008
TABLE OF CONTENTS:
  1. · Beginning HTML
  2. · Formatting HTML Documents
  3. · Inserting a Line Break
  4. · Comments
  5. · Formatting Text

print this article
SEARCH DEVARTICLES

Beginning HTML - Formatting HTML Documents
(Page 2 of 5 )

Just as with any other document, HTML pages should practice good layout principles. Below are a list of tags that will help you in this endeavor.

Headers

Header tags determine the size of your Header. The largest is <h1>some text</h1> and the smallest is <h6>more text</h6>. Here is a list of header sizes and an approximation of their comparative sizes:


  • I am an "H1" tag

  • I am an "H2" tag

  • I am an "H3" tag

  • I am an "H4" tag

  • I am an "H5" tag
  • I am an "H6" tag

Kind of a cool effect right?

Paragraphs

Creating paragraphs in HTML is just as simple. Just use the <p> and </p> tags. This creates a blank line before and after each paragraph. If I wrote the following tags three times: <p>Look at my paragraph!</p>, this would be my result:

  Look at my paragraph!

  Look at my paragraph!

  Look at my paragraph!


blog comments powered by Disqus
HTML ARTICLES

- Does HTML5 Need a Main Element?
- Revisiting the HTML5 vs. Native Debate
- HTML5: Not for Phone Apps?
- HTML5 or Native?
- Job Hunting? Freelancer.com Lists This Quart...
- HTML5 in the News
- Report: HTML5 Mobile Performance Lags
- The Top HTML5 Audio Players
- Top HTML5 Video Tutorials
- HTML5: Reasons to Learn and Use It
- More of the Top Tutorials for HTML5 Forms
- MobileAppWizard Releases HTML5 App Builder
- HTML5 Boilerplate: Working with jQuery and M...
- HTML5 Boilerplate Introduction
- New API Platform for HTML5

Watch our Tech Videos 
Dev Articles Forums 
 RSS  Articles
 RSS  Forums
 RSS  All Feeds
Write For Us 
Weekly Newsletter
 
Developer Updates  
Free Website Content 
Contact Us 
Site Map 
Privacy Policy 
Support 

Developer Shed Affiliates

 




© 2003-2017 by Developer Shed. All rights reserved. DS Cluster - Follow our Sitemap
Popular Web Development Topics
All Web Development Tutorials