Home arrow HTML arrow Page 4 - HTML Tutorial
HTML

HTML Tutorial


This article is the September contest winner. The author provides a basic tutorial of HTML, with code samples illustrating headings, lists, background colors, using the Frame tag and more.

Author Info:
By: Anand Narayanaswamy
Rating: 3 stars3 stars3 stars3 stars3 stars / 73
October 11, 2004
TABLE OF CONTENTS:
  1. · HTML Tutorial
  2. · Paragraph Tags, Attributes and Headings
  3. · Using Lists
  4. · Indents and Links
  5. · Working with Images
  6. · Working with Tables
  7. · Working with Frames
  8. · Using Forms, Text, Buttons, and Combo Box
  9. · Text Area, Check Box, and Radio Buttons
  10. · Additional Tags
  11. · Drawing Lines, SUB and SUP Tags
  12. · Test Yourself Questions

print this article
SEARCH DEVARTICLES

TOOLS YOU CAN USE

advertisement
HTML Tutorial - Indents and Links
(Page 4 of 12 )

Indenting Text

The <BLOCKQUOTE> tag double indents a block of text from both margins automatically from left to right. Try the following example:

Listing 8

<BLOCKQUOTE>
You can use Sound Recorder to record, play, and edit sound files. To use Sound Recorder, you must have a sound card and speakers installed on your computer. If you want to record live sound, you also need a microphone.
</BLOCKQUOTE>

Creating Links

A website is not a single page. It consists of several pages connected together. For example, when you click a text link named "About Us", your browser automatically takes you to that web page. How is this magic occurring? It is through a concept of Hyperlinks.

You can create Hyperlinks using the tag <a>. It should be closed using the tag </a> and it stands for anchor. The following code takes you to Learnxpress.com, when you click the text “Learn Now”.

Listing 9

    <A href = “http://www.microsoft.com”>Microsoft</A>

href is an attribute used to specify the link and it stands for Hyper Text Reference. Other attributes include an optional target, which denotes how to open the link. The value applied for this attribute is _blank. For example, the following code opens microsoft.com’s site in a new browser window when a user click the text.

Listing 10

    <A href = http://www.microsoft.com target = “_blank”>
      Microsoft </A>


blog comments powered by Disqus
HTML ARTICLES

- HTML5 Boilerplate: Working with jQuery and M...
- HTML5 Boilerplate Introduction
- New API Platform for HTML5
- BBC Adopts HTML 5, Mozilla Addresses Issues
- Advanced Sticky Footers in HTML and CSS
- HTML and CSS Sticky Footers
- Strategy Analytics Predicts HTML5 Phones to ...
- HTML5 Guidelines for Web Developers
- Learning HTML5 Game Programming
- More Engaging CSS3 and HTML Background Effec...
- Engaging HTML and CSS3 Background Effects
- More Web Columns with CSS3 and HTML
- Columns with CSS3 and HTML
- Creating Inline-Block HTML Elements with CSS
- Drag and Drop in HTML5: Parsing Local Files

Dev Articles Forums 
 RSS  Articles
 RSS  Forums
 RSS  All Feeds
Weekly Newsletter
 
Developer Updates  
Free Website Content 
Contact Us 
Site Map 
Privacy Policy 
Support 



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