Login | Register   
LinkedIn
Google+
Twitter
RSS Feed
Download our iPhone app
TODAY'S HEADLINES  |   ARTICLE ARCHIVE  |   FORUMS  |   TIP BANK
Browse DevX
Sign up for e-mail newsletters from DevX


advertisement
 

HTML QuickStart : Page 2

Welcome to the HTML QuickStart! This section walks you through the basic steps for creating a Web page. It also includes a sample page and some hands-on exercises you can try.


advertisement

Step Two: Make a File
The first thing you need to do is use your text editing program to create a file that will hold your Web page.

You can name the file anything you want as long as it ends with the extension .htm or .html. The .htm or.html extension tells the browser that this is a Web page and should be viewed as one.

For example, any of these names would be fine:

  • mypage.html
  • lizards.htm
  • vacation.html


Step 3: Understand Tags
HTML pages are easy to build—all you need to understand is a few tags. A tag is a way of indentifing the different pieces of your page, like headlines and paragraphs.

Tags are easy to spot. They all begin with the the "less than" sign: < and end with the "greater than" sign: >. Between the greater and less than signs is the tag name. For exaple, this tag is the paragraph tag:

<p>

You can use either upper or lower case letters for tag names. The browser doesn't care.

The tag is usually followed by text. For example, this is the text of a short paragraph:

<p>Once upon a time there lived a green frog in a blue pool.

At the end of the text is another tag, called a closing tag. It looks just like the opening tag except it has a slash in front of it. It tells the broswer that this is the end of this particular page element:

<p>Once upon a time there lived a green frog in a blue pool.</p>





Comment and Contribute

 

 

 

 

 


(Maximum characters: 1200). You have 1200 characters left.

 

 

Sitemap