Home arrow HTML arrow Page 10 - 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 - Additional Tags
(Page 10 of 12 )

Formatting your Text

You can use <PRE></PRE>tag to format your text. It stands for Preformatted Text. Whatever you enter inside these tags will be displayed as such on the browser. This tag is used for writing programming codes.
  
Listing 25

 <PRE>
 This text will display as such
 and is used for displaying codes
 </PRE>

Moving Texts

Texts and Images can be moved with the help of <MARQUEE></MARQUEE> tag. This tag accepts many attributes as shown below

Bgcolor

This attribute changes the background color of the moving text or any object. The values can be red, blue or in Hexadecimal format.

Behavior

This attribute changes the direction of the moving object. Its values can be left, right, top and bottom.

ScrollDelay

It indicates the speed of the moving object. Typically, its value is specified in MilliSeconds. Keep in mind that 1 second is equal to 1000 milliseconds.

Loop

You can specify number of times, the particular text or object should move with the help of this attribute. A value of –1 indicates the infinite movement of texts.

Listing 26

<MARQUEE bgcolor = “red” behavior = “top” scrolldelay = “2000”
loop = 4”></MARQUEE>


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