Jump to content


Photo
- - - - -

[HTML] HTML Guide: Part 1


  • Please log in to reply
2 replies to this topic

#1 blinek

blinek

    Jedi In Training

  • Members
  • PipPip
  • 377 posts
  • Location:Earth

Posted 09 November 2005 - 06:40 PM

HTML Guide


Getting Started

HTML documents are plain-text files that are created using a text editor. Word processing software can be used if the document is saved as "text only with line breaks."


Helpful Terms

WWW: World Wide Web

HTML: Hypertext Markup Language

Text Editor: Simple text on edditing software, (Noepad, FrontPage, Dreamweaver, etc.)

Tags: Used to denote various element in the HTML document

Attribute: Additional information icluded inside the start tag.


Page Options

Page options are included as attributes of the <body> tag.

Background Image

The BACKGROUND attribute allows an image to be used as a backguond for your document.

example:

<BODY BACKGROUND="header.gif">

Background, Text & Hyperlink Colors

By default, browsers display text in black and hyperlinks in blue with a gray or white background. THML allows you to change these element.

BGCOLOR= background
TEXT= Text displayed in the browser
LINK= Hyperlink
ALINK= Active Hyperlink
VLINK Visited Hyperlink

example:

<BODY BGCOLOR="000000" TEXT="96900C" LINK="#FFFFFF">


Page Options

Every HTML document should contain the basic HTML tags. The head contains the title, and the body contains the text that is made up of paragraphs, lists, images, and other elements. Not every browser supports all tags. However, the browser ignores the tag if it is not suppored.

example:

<HTML>
<HEAD>
<TITLE>Lorem ipsum</TITLE>
</HEAD>
<BODY>
<H1>Lorem ipsum dolor sit amet, consectetuer adipiscing elit.</H1>
<P>Proin turpis. Nullam semper ornare nulla.</P>
<P>Mauris condimentum nunc. Nunc adipiscing, magna nec malesuada rutrum.</P>
</BODY>
</HTML>

And heres what it would look like:

Lorem ipsum

Proin turpis. Nullam semper ornare nulla.

Mauris condimentum nunc. Nunc adipiscing, magna nec malesuada rutrum.


Thats Part 1 how you enjoyed it :)

#2 ronson

ronson

    Banned For Being Purple

  • Twodded Staff
  • PipPip
  • 480 posts
  • Gender:Male
  • Location:North Yorkshire, UK
  • Interests:Rugby, Programming, Building Computers, Networking, Web Design and...........BINGE DRINKING!!!!!!.

Posted 09 November 2005 - 06:53 PM

Not bad, but where you have the background and links code, should be the basic HTML tags meaning HTML, HEAD and closing these etc. You need to explain the code alittle better aswell.

James

#3 saferwaters

saferwaters

    Jedi In Training

  • Members
  • PipPip
  • 390 posts

Posted 13 November 2005 - 09:23 AM

Also, tags should be lower-case :D




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users