HTML file structure (document structures)
<body>...</body>
<HTML><HEAD> <title>, <base>, <link>, <isindex>, <meta></HEAD> <BODY> the body of the HTML file is written here ... </BODY></HTML>
<--################## LANGUAGE INFO ########################-->
Language character Set (charsets) information
<meta http-equiv= "Content-type" content= "text/html;charset=#" >
-
#=
-
Us-ascii, Iso-8859-1, X-mac-roman, Iso-8859-2, X-mac-ce,
ISO-2022-JP, X-sjis, X-EUC-JP,
EUC-KR, ISO-2022-KR,
gb2312, gb_2312-80,
X-EUC-TW, X-cns11643-1, x-cns11643-2, Big5
MIME Character set information can be set in an HTML file.
When browsing the home page, it is best to choose the language (language encoding) in the browser's Options menu.
However, if you specify the settings in the HTML file, the browser automatically sets the language option.
In particular, the home page uses character entities (entities), and the home page should specify character set information.
Otherwise, if you do not set the language options correctly when you browse the home page, the display may be confusing.
<--################## Background Color ########################-->
Background color and text color
<body bgcolor=# text=# link=# alink=# vlink=#>
-
bgcolor---background color
-
text---Non-linked text
color link
-
---The color of the linked text
-
ALink---is being clicked Text-linked color
-
vlink---The color of the linked text you have clicked (accessed)
#=rrggbb
-
Color is represented by a 16-in red-green-blue (Red-green-blue, RGB) value.
16 Digital has: 0,1,2,3,4,5,6,7,8,9,a,b,c,d,e,f.
Background image <body background= "Image-url" >
Non scrolling Background <body bgproperties=fixed>
<--################## MARGIN ########################-->
Page Blank (Margin)
<------Margin------->
Blank <body on the left side of the page leftmargin=#>
White space above the page (header/footer) <body topmargin=#> #=margin Amount
<--################## Link ########################-->
Links (Link)
<------link basic------->
Basic syntax <a href= "URL" > ... </a>
- This is a
<a href= "samp/link.html" > links to examples </a>.
Click the underlined text!
This is an example of a link. Click the underlined text!
<------link name------->
Jump to another place on the page
<a href= "#name" > ... </a>
<a name= "Name" > ... </a>
- <a href= "#jump-test" > Jump to Next "link" </a><P>
<a name= "Jump-test" > Next chain Contact </a>
Jump to the next "chain contact"
Next link Contact
<------link Name 2------->
Jump to a place on another page
<a href= "Url#name" > ... </a>
<a name= "Name" > ... </a>
- Jump to another page of <a href= "Samp/link.html#jump-test" > Somewhere </a>.
Jump to a place on another page.
<--################## Target WINDOWS ########################-->
Open a new (browser) window (Target window)
<------Target Windows------->
<a href= "URL" target= "Window_name" > ... </a>
- <a href= "samp/window.html" target= "Window_name" >
Open a new window!
</a>
Open a new window!
<--################## HR ########################-->
Ruler Line
<HR size=#>
<HR size=10>
<HR width=#>
<HR width=50>
<HR width=50%>
<HR width=50% align=left>
<HR width=50% align=right>
<HR noshade>
<HR noshade>
<HR color=#>
-
#=rrggbb 16 RGB Digital, or the following predefined colors:
Black, Olive, Teal, Red, Blue, maroon, navy, Gray, Lime,
Fuchsia, White, Green, Purple, Silver, yellow , Aqua .
<HR color= "Red" >