continue:   textdesign
back:   general on homepages
sample

General on HTML

General

There are many elements of the language in HTML, that are (nearly) all built as follows :
<COMMAND>
  something
</COMMAND>
These elements do NOT neccessarily have to be in the same line; case of the elements is irrelevant. In addition, very often these elemants are stacked. And, the commands may contain parameters, as in COMMAND2
<COMMAND> Start of the scope of command 1
  something
<COMMAND2 Addition=Value> Start of the scope of command2
  somewhat else
</COMMAND2> End of the scope of command2
</COMMAND> End of the scope of command2

Such commands, that are written within < and > are called TAGs. If they mark the end of the scope of a command ( written with / ) they are called end-TAG.

Elements of the Language

Each web-page in minimum contains following TAGs :
<HTML> Start of page
  ..............
  ..............
</HTML> End of page

Additional main segments are :
<HEAD> Start of descriptive information
  ..............
  ..............
</HEAD> End of descriptive information

as well as
<BODY> Start of vieweable area
  ..............
  ..............
</BODY> End of vieweable area

Everything, that is written between <HEAD> and </HEAD> , describes the page , without beeing visual on the shown page itself.
Everything, that is written between <BODY> and </BODY> is the visual area itself.

Everything between <HEAD> ..... </HEAD> ist <TITLE> ..... </TITLE> is interesting, as it is the title of the page.

Between <BODY> ..... </BODY> first the headings:
<H1> important main heading </H1>
<H2> less important main heading </H2>
<H3> subheading </H3>
<H4> smaller subheading </H4>
Texts, as far as they dont need a special way of view, are just entered. Linefeeds within the text as well as additional blanks , are ignored. If a linefeed is needed, HTML provides the TAG <BR> (break). This is one of the TAGs, that does not need an end-TAG.

a simple sample, using the elements introduced until now

<HTML>
  <HEAD>
    <TITLE>
      This is the title of my testpage
    </TITLE>
  </HEAD>
  <BODY>
    <H1>
      This is the heading of my page
    </H1>
    <H3>
      This is a subheading
    </H3>
      And now , simple text including a <BR> linebreak
  </BODY>
 </HTML>


  It views like that   try it


continue:   textdesign