Current location - Education and Training Encyclopedia - Resume - Code for finding html tables
Code for finding html tables
The effect is this. I didn't adjust it for you except some background colors of the table data. The others should be exactly the same. The border color may be slightly different. Fine-tune yourself I use 255 green directly. The effect is as follows:

The actual effect should be similar to what you want.

The code is actually composed of the most basic table style. The code is as follows:

& lt! DOCTYPE html & gt

& lthtml & gt

& lthead & gt

& ltstyle & gt

tr . title TD { text _ align:center; Width: 4em Text alignment: center; Font thickness: bold; }

Table {border: 1px Solid color RGB (0,255,0); }

tr.name td{border:2px solid RGB(0,255,0); Text alignment: centered; }

& lt/style & gt;

& lt/head & gt;

& ltbody & gt

& lt table & gt

& lttr class = " title& gt

& lttd & gt student number

& lttd & gt name

& lttd & gt Chinese