We know that when using HTML on NetEase Blog, we can add the code directly to the template, but the effect is not very good. That's because the codes are not arranged well. Now I'll talk about using tables to arrange them, which can display the special effects well. In HTML syntax, table is an indispensable part. Without it, it is difficult to display the visual effect of the web page. Now I will talk about table. The following is a table with two rows and two columns: The code is: <TABLE style="BORDER-RIGHT: 1px solid; BORDER-TOP: 1px solid; BORDER-LEFT: 1px solid; BORDER-BOTTOM: 1px solid" cellSpacing=1 cellPadding=1 width="100%" border=1> tr represents rows, td represents columns, border represents thickness ("0" means it will not be displayed), and represents spaces. Here, the width of the table is best to be 100% (width="100%"). Do you understand now? Once you understand it, you can add the code you want in "<TD> </TD>". For example: <TABLE style="BORDER-RIGHT: 1px solid; BORDER-TOP: 1px solid; BORDER-LEFT: 1px solid; BORDER-BOTTOM: 1px solid" cellSpacing=1 cellPadding=1 width="100%" border=1> The effect is: Just like this, the rest is the same. One more thing: when we make tables, some of them look like this: The approach is: <table border="1" width="100%"> and If you look closely, you will see that there are extra colspan="2" and rowspan="2", right? ! ! ! This is what you want. "2" is a parameter, which you also need to set yourself. <table border="1" width="100%"> and The effects are: and Note: Other codes must be added in <td>....</td>. This is for those friends who don’t understand HTML! ! |
<<: Full process record of Nginx reverse proxy configuration
>>: Examples of vertical grid and progressive line spacing
Call How to call Amap API? The official open docu...
This article example shares the specific code of ...
The installation process of VMwarea will not be d...
Table of contents Business Logic Data table struc...
Table of contents 1. The origin of tomcat 1. Tomc...
Recently, there is a need to automatically search...
Copy code The code is as follows: Difference betw...
In daily operation and maintenance work, nginx se...
When we want to use a new CSS feature, we always ...
Think big and small, then redirect. Sometimes Lin...
【1】exists Use a loop to query the external table ...
1.watch listener Introducing watch import { ref, ...
MySQL uses triggers to solve the row limit of the...
Keepalived+Nginx+Tomcat to achieve high availabil...
Table of contents 1. Retrieve via --skip-grant-ta...