Learn one of the HTML again

Source: Internet
Author: User
Tags closing tag

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

" TD valign= "Middle" style= "padding-top:1px; padding-left:1px; padding-bottom:1px; padding-right:1px ">

start tag

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

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: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.