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: 4 stars4 stars4 stars4 stars4 stars / 77
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

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

- 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