Html Hypertext Markup Language
What is HTML?
HTML is a language used to describe a Web page.
- HTML refers to Hypertext Markup Language (Hyper Text Markup Language)
- HTML is not a programming language, but a markup language (Markup language)
- Markup language is a set of tag tags (markup tag)
- HTML uses tag tags to describe web pages
?
An HTML document is equal to a Web page
?
The HTML element refers to all the code from the start tag (start tag) to the end tag (end tag).
element content
start tag | " TD valign= "Middle" style= "padding-top:1px; padding-left:1px; padding-bottom:1px; padding-right:1px ">
end tag |
Span style= "font-family: Song body; Font-size:12pt "><P> |
this is a paragraph |
</P> |
Span style= "font-family: Song body; font-size:12pt "><a href=" default.htm " |
this is a link |
</A> |
<br/> |
? |
? |
Note: The start tag is often called an open tag (opening tag), and the end tag is often referred to as a closed tag (closing tag).
?
Application of Table tags
?
The picture specifies the height width to be automatically proportionally specified
?
Table Property cellspacing the size of the table void, the distance between adjacent cells
CellPadding the distance from the content to the border
?
Use table labels to write a recipe
<! DOCTYPE html>
????
???????? <meta charset= "Utf-8" >
???????? <title></title>
????
???? <body>
???????? <table align= "center" border= "1px" bordercolor = "FFFFCC" cellspacing= "0" width= "400px" height= "180px" >
???????????? <TR><TD colspan= "3" align= "center" > Monday Recipes </td></tr>
???????????? <TR><TD rowspan= "2" > Vegetarian </td><td> Green Grass eggplant </td><td> pepper potatoes </td></tr>
???????????? <tr><td> shallot tofu </td><td> sauteed cabbage </td></tr>
???????????? <TR><TD rowspan= "2" > Meat dishes </td><td> shredded pork with fish sauce </td><td> braised prawns in oil sauce </td></tr>
???????????? <tr><td> sea cucumber abalone </td><td> Dragon Liver Chicken Gall </td></tr>
???????? </table>
???? </body>
?
RowSpan Line Merge
colspan column Merging
?
Learn one of the HTML again