Lesson n ° 4: General Characteristic of a page and hypertext links with "target"

General Characteristic of a page

Here is an extract of the sources of this page, created with Netscape Composer.
 
<! Doctype html public " - // w3c // dtd html 4.0 transitional // in " > Information about generation html (version 4)
< html > html document
< head > at the beginning of the part head
< meta http-equiv = " Content-Type " tells = " text / html; charset=iso-8859-1 " > using latin letter
< meta name = " Author " content= "Daniel Priss" > author
< meta name = " GENERATOR " tells = " Mozilla / 4.7 [fr] (Win98; I) [Netscape] " > software of creation
< title > general Characteristic of a page
and hypertext links with "target" < / title >
title of the document which appears in the browser
< / head > end of the head
< body text = " * 3333FF " bgcolor = " * FFFFFF " link = " * 0000EE " vlink = " * 551A8B " alink = " * FF0000 " >
  • at the beginning of the body of the text 
  • colour of the type of the text 
  • background colour of the page 
  • colour of the not activated hypertext links 
  • colour of the hypertext links that one activates 
  • colour of the activated hypertext links
Text ..............
< / body > at the end of the body of the text
< / html > at the end of the document html

It is possible to add the other meta as for example:
< meta name = " keywords " content= " html, Web, home page " >

These elements can be used by a search engine like AltaVista.
 
 

Hypertext links with "target"

It is possible to make an hypertext link within the same page ex. : click here to return to the beginning of the document

Create a target :< a name="top" > < / a > and a link tag < a href = "top " > text < / a >
Note the use of the sharp
Notice: it is possible to make a link towards a precise point of another document as for example : click here: lesson 2 links, hypertexts
< a href "lecon_2.html#hypertext " > click here: lesson 2, hypertext links < / a >

Lesson n°5-Contents