You can arrange text in a table on a Web page layout as you can have the design of a printed document.
For example, if you design a calendar, organize the calendar in a table with columns, with the day of the week and rows tagged with numeric data for the month. If you have general knowledge of HTML and CSS, run this task specific encoding for Web pages. Use the table tag in the HTML code to create tables in a Web page, and then use the code CSS or modify cascading style sheets to the appearance of the table you created. For example, can your table to have thicker or thinner borders. Similarly, you can change a background color of the standard color table by specifying the color you want in your Web page style sheet. Level of difficulty: Moderately easyInstructions- 1
Choose a name for the set of code, you will use in your style sheet, change the background color table.
In terms of CSS, a series of code is called a class. You can name the class "Tablesample." Choose a name for the set of code, you will use in your style sheet, change the background color table.
Select a color for the background of your table.
Write code for your class tablesample color you have chosen.
≪!
. TABLESAMPLE {background-color: Blue;}
--
Add the code for your class of tablesample to your code base style sheet:
< style type = "Text/Css" >
≪!
.
- & gt;
< / style >
Assign the class tablesample in a belie
< table class = "Table Sample" >
< tr >
< td >
Find information here.
< /TD >
< /tr >
> < / table >
The table background color changes to blue.
No comments:
Post a Comment