Preliminary introduction to Practical training essay 4:html

Source: Internet
Author: User

1, <td> and <tr> tags

When making a table, it should be a line of drawings, that is, <tr> should include <td> tags, the correct example is as follows:

<H3> Test array initialization and operation</H3><TableId= "Carname"Width= "120px"Border= "100px"><Tr><Td>no</Td><Td>1</Td><Td>2</Td><Td>3</Td></Tr><Tr><Td>carname</Td><TdId= "First">aodi</TD> <td ID= "second">benchi</td> <TD ID = "Third">byd</td> </tr> </table>  

Execution results

If the <td> tag is written in the <tr> tab, the following effect will appear.

2, JS and CSS statements can be separated into files, and then linked to the HTML file.
<src= "Myscript.js"></script>< rel = "stylesheet"  href= "Test.css"/> 
3. CSS Box model

4, Vscode Chinese garbled problem

Write HTML encoding should be utf-8, otherwise the Chinese display will appear garbled problem, should be modified in the lower right corner, rather than in the HTML page defined.

Preliminary introduction to Practical training essay 4:html

Related 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.