Home
Plan Your Website
Web Design
Free SBI Web Tools
Create A Free Site
Web Design Tips
Intro To HTML
HTML Tutorial
Register Domain
Choose A Host
Web 101
Google Tips
Earn Money Online
Grow Web Traffic
Web Content
Website Templates
Web Page Software
Intro To CSS
Website Adviser Blog
Site Build It!
Privacy Policy
About Me
Contact Us

[?] Subscribe To This Site's Latest Posts

XML RSS
Add to Google
Add to My Yahoo!
Add to My MSN
Subscribe with Bloglines

 

HTML Tutorial - Part 4 Begin HTML Coding

You can use this HTML tutorial to learn the basics of this widely used mark-up language. If you are new to coding an HTML tag, there is need to worry.

Once you know how to structure a few HTML tags you'll be on your way to learning lots more in the HTML world. It'll be a snap!

Learning how to use some common HTML design tags will increase your comfort level -- without having to learn any programming language.


HTML Tutorial At A Glance…
--------------------------------------------------------------------
    Part 1: The Basics
    Part 2: The Basics
    Part 3: The Basics
    Part 4: Begin Coding In HTML
  1. The 4 Mandatory Tags
  2. Code A New Web Page
  3. Make My Text Bold
  4. More HTML Tags

  5. Part 5: How To Code An XHTML Web Page
    Part 6: Headings and Meta Tags
    Part 7: How To Create An HTML List
    Part 8: How To Construct HTML Links
    Part 9: Building HTML Tables


  1. Which Tags Are Mandatory?
    Most tags are paired - this just means that a start tag is paired off with an ending tag or end tag. The End tag has a forward slash that’s positioned right after the first angle bracket ( … </ … ).

    <html> and </html>

    <head> and </head>

     <title> and </title>

    <body> and </body>


    • All HTML documents, or docs for short, must begin with… the start <html> tag and end with the </html> tag.
    • Let’s create a simple HTML doc. First, you must code the start <html> tag.
    • After that you’ll code the next 3 required pairs of tags and then finish by coding the </html> end tag to complete it.
    • The start <head> and end </head> tag is used to indicate information about the document – I cover this later.
    • The <title> and </title> tags holds the information for your Title Bar – this bar is displayed at the top of any browser’s window. Since it has document info it’s coded within the <head> and </head> tags.
    • The <body> and </body> tags are used to contain any text that is displayed in the HTML page.
    • You’re also going add a non-required paired tag to let your document have some text to display.

  2. Code The New Web Page
    Code the following in your text editor. Add this sentence to the body to allow your browser to display some on your screen...

    This sentence will be displayed on my new web page.


    Your HTML code should look like this:

    <html>
    <head>
    <title>My New Web Page</title>
    </head>
    <body>
    This sentence will be displayed on my new web page.
    </body>
    </html>


    • Save the file in a folder where you keep HTML code – use lowercase characters with a document extension type of either .htm or .html.
    • Note:
      Older browsers ONLY recognize the 3 character .htm extension.

      learn html

    • In the PC environment you double-click on the saved file.
    • You will see a the following in your browser window…
    • HTML tag

      Tip:
      Mac and Linux/UNIX users see the help documentation for your respective operating systems to browse a saved HTML file.

    • Now we’ll use the bold tags to modify the text in the body section

  3. Make My Text Bold
    Let's make some of the text bold in the body section. We easily do this by surrounding it with the bold tags -- <b> and </b>.


  4. Change My Web Page With More HTML Tags
    Now you going to see the italic tags, (<em> and </em>), and underline tags, (<u> and </u>), work in this HTML tutorial.

    Again, you can do this by surrounding your text with the proper HTML tags. We'll also see how the break tag, (<br>), and the paragraph tags, (<p> and </p>), work.


HTML Tutorial At A Glance…
--------------------------------------------------------------------
    Part 1: The Basics
    Part 2: The Basics
    Part 3: The Basics
    Part 4: Begin Coding In HTML
  1. The 4 Mandatory Tags
  2. Code A New Web Page
  3. Make My Text Bold
  4. More HTML Tags

  5. Part 5: How To Code An XHTML Web Page
    Part 6: Headings and Meta Tags
    Part 7: How To Create An HTML List
    Part 8: How To Construct HTML Links
    Part 9: Building HTML Tables


Return from HTML Tutorial Part 4.


footer for html tutorial page