The knowledge point supplement and extension of HTML basic article

Source: Internet
Author: User
Tags comment tag

<tbody> tags

<tbody> If the table has a lot of content, it will be displayed if you add this tag to it. Used on the Table tab.

If you use thead,tfoot , and tbody elements, you must use all the elements. They appear in the order ofthead,tfoot,tbody, so the browser can render a footer before all data is received. You must Use these tags inside the table element.

To add a table border with a CSS style:

<type= "Text/css">table tr td,th{border : 1px solid #000 ; }</style>

This is used by the industry reference in CSS to write group selectors in the head of the page, as well as knowledge of CSS selectors.

1.a,b{...} Indicates {...} Both A and B are executed, where there is only one comma, so the table tr TD and th Two things are executed {border:1px solid #000;}.
2.table TR TD represents the table path under the TR path TD, that is, the computer path table/tr/td, so here refers to all the sub-label of the table TR inside the TD, because there is only one table in the code, and all TD in the TR inside, So it's okay to delete the table and tr.

Or you can't understand. See the following links: view

Summary Property It is the same as the comment tag is not displayed in the Web page any content, its role is to increase the readability of the table, the search engine to better understand the table content. It is also convenient for some readers to better allow users to read the contents of the table.

<table summary= "form brief text" >

Table Title Label:<caption>

<Table><caption>Table title</caption><TR><TD>Aaa</TD><TD>Ddd</TD></TR></Table>

The function is to describe the table content title display position above the table,<caption> label must be placed directly after the <table> tag. <caption> cannot join the Align attribute has been abolished for a long time.

The text color of the hyperlink:

<!DOCTYPE HTML><HTML>    <Head>        <MetaCharSet= "Utf-8">        <title>Hypertext links</title>        <styletype= "Text/css">a{Color:Red}        </style>    </Head>    <Body>        <ahref= "Http://www.baidu.com">Baidu</a>    </Body></HTML>

In the example above

<type= "Text/css">            a{color:  red}        </style>

is the CSS in the page reference to change the hyperlink under the name of the color, the default is blue after the click is lavender, after the setting has been that color.

additional property values for the Href attribute

<href= "mailto: email address to send"> send </a>

Mailto: Its role is to send an email address. If you want to test this work can require an e-mail program of the client.

<href= "mailto: e-mail address to send?" cc= Another email address "> send </ a >

Cc=: It is a CC address users fill out when sent is originally only mailto send address if added CC is equal to add more than one at the sending address, For example, your homework to be sent to the teacher, but also to send a copy to the students can use this attribute value. There is no need to re-call another one and send it to someone else; but it has a bad place where multiple senders can see who the message is sent to. (a CC will be sent to the recipient on the CC address when you send it) note the written format!

<href= "mailto: e-mail address to send?" bcc= Another email address "> send </A  >

Bcc=: It's an encrypted CC address that works the same as the CC address above, but their two security comparisons are encrypted because the recipients are not seeing the message and sending it to anyone at the same time. pay attention to the writing format!

<href= "mailto: the first email address to be sent, the second email address to be sent, the third email address to be sent > send </ a >

Here the main introduction if you want to send multiple addresses is how to separate we will use; The address is separated from the mailto,cc,bcc can be.

<href= "mailto: e-mail address to send?" subject= job &body= Job content> send </  a>

Subject is the title of the message you want to send, and thebody is the content you want to send. please read the written specifications clearly.

The knowledge point supplement and extension of HTML basic article

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.