HTML consists of tags and attributes, which are used together to tell the browser how to display a page of documents. A flag is used to reference document parts such as a text or an image. The attribute is a flag option, such as color, alignment, height, and width. Many of the logos are correct. For example, if & lt; TITLE & gt; exists, & lt; TITLE & gt; the previous one begins,
HTMLAre composed of flags and attributes, which are used together to tell the browser how to display a page of documents. A flag is used to reference document parts such as a text or an image. The attribute is a flag option, such as color, alignment, height, and width. Many of them are correct, for example There isThe first one indicates start, the last one indicates end, and the content is placed between the two.
Basic Structure flag
<
HTML> ---------- Indicates that the file is
HTMLFile
---------- Contains the file title, script used, style definition, etc.
Hello world!-Contains the file title, which appears in the browser title bar
----------End sign
-------- Place all the logos and attributes of the information in the browser. The content is displayed in the browser.
HTML> ---------- <
HTML> End mark
Other major flags: All of the following flags are usedMedium
---------- Link icon, "…" The URL of the linked file.
---------- Display the image logo, "…" Is the image address
---------- Line feed sign
---------- Segmentation mark
---------- Use italics
---------- Italics
---------- Horizontal line drawing
---------- Definition table,
HTMLImportant sign
---------- Define table rows, used in
Medium
---------- Table unit, used inMedium
---------- Font style logo
Attribute usage:
The attribute is used to modify the flag. The attribute is placed in the Start flag.
For example, the bgcolor = "BLACK" attribute indicates that the background color is BLACK. Example of referencing a property:Indicates that the page background color is black,
The background color of the table is black.
Common attributes: Alignment attribute range attributes
ALIGN = LEFT alignment (default) WIDTH = pixel value or percentage object WIDTH
ALIGN = center height = pixel value or percentage object HEIGHT
ALIGN = RIGHT alignment color attribute
COLOR = # RRGGBB foreground COLOR reference COLOR table
BGCOLOR = # RRGGBB background color