Parsing HTML Language (iii) file tags

Source: Internet
Author: User
Tags set background

Parsing HTML language

File tags

To understand the "HTML analysis" of the tag classification, please see "Mark list."
Please also understand the difference between containment mark and empty tag. See "HTML Concept".

HTML Basic Schema:
The following HTML Source Code is the basic schema for an HTML file:

<TITLE> title of page </TITLE>
The content of the Web page, many of the tags are used for this

Feature Commentary:

The entire file is between Mark <HTML> and </HTML>.
<HTML> to declare this HTML file so that the browser recognizes and processes the HTML file correctly.

The file is divided into two parts, from <HEAD> to </HEAD> called the beginning,<body> to </BODY> is called this article.
Basically each has the applicable tag, such as <TITLE> can only appear in the beginning.

The first part is used to store important information, and only the part of this article is displayed.
So most of the tags are used in this section.

<TITLE> indicates the title of the file.
Appears at the top of the browser and is the name for someone else's Bookmark, so each page has a different and clear title that is needed.
Only <BODY> parameters are set in the above tags.

<BODY> parameter setting:
<body text= "#000000" link= "#0000FF" alink= "#FF0000" vlink= "#0000FF" background= "Bg1.gif" bgcolor= "#FFFFFF" leftmargin=2 topmargin=2 bgproperties= "fixed" >

text= "#000000"
Used to set the text color. #000000 represents black, you can also use the name of the color, that is, text=. The values and names of the various colors can be referenced in the "Color Principle" section.

link= "#0000FF"
Sets the general text link color.

alink= "#FF0000"
Set the text link color just when pressed.

vlink= "#0000FF"
Set the color after the link. (Has been pressed).

Background= "Bg1.gif"
Set Background wallpaper. GIF or JPEG can be an absolute or relative approach.

Bgcolor= "#FFFFFF"
Sets the background color. When you set the background wallpaper, you will lose effect, unless the wallpaper has a transparent part.

Set the entire file to display the left edge of the screen space, the unit is pixel. "Apply to IE only"

Set the entire file to display the top edge space of the picture. "Apply to IE only"

bgproperties= "Fixed"
Fixed background wallpaper, the wallpaper will not scroll when scrolling text. "Apply to IE only"
The letter size of the tag and the parameter is OK. Other events such as OnLoad will be described in "Java Script profiling."

Related Article

Alibaba Cloud 10 Year Anniversary

With You, We are Shaping a Digital World, 2009-2019

Learn more >

Apsara Conference 2019

The Rise of Data Intelligence, September 25th - 27th, Hangzhou, China

Learn more >

Alibaba Cloud Free Trial

Learn and experience the power of Alibaba Cloud with a free trial worth $300-1200 USD

Learn more >

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: and provide relevant evidence. A staff member will contact you within 5 working days.