What is HTML
L HTML(hypertext mark-up Language) is a hypertext Markup language or Hyper-text label language.
L What's hypertext: Hypertext allows you to include images, links, and even music, programs, and more in your pages.
The Web page file itself is a text file that marks individual parts of the page to be displayed by means of a marker symbol.
L What is the Mark : When the browser encounters the corresponding tag symbol , it realizes the corresponding function!
L web page file extension:. html or . htm
Writing Rules
- HTML tags are keywords surrounded by a pair of angle brackets, such as
- label names are case insensitive However, it is recommended to use lowercase <font> <FONT> <Font>
- If there is a space between the attribute attribute and the label name in the tag, if there is more than one attribute in a tag , there is a space between the property and the attribute to be written in the start tag. cannot be written in the end tag
- If there are attributes in the label The value of the property is required to be quoted both single and double quotation marks can be
- Each label needs to be closed, one-sided label needs to be closed with a slash!
- nested relationships before tags There may be other tags in the label.
the nesting between labels and tags can only be nested using sequential nesting
There are sequence table format:
<ol>
<li> content </li>
<li> Content </li>
<li> Content </li>
<li> Content </li>
</ol>
Unordered list format:
<ul>
<li> content </li>
<li> Content </li>
<li> Content </li>
<li> Content </li>
</ul>
Integrated application case for HTML base tags (color, italic, bold, underline, a tag, unordered list, ordered list)