Computer Ma Revising Material
Computer Ma Revising Material
Charan 8E
body{background-image: url(file:///C:/Users/Admin/Desktop/flower.jpg)}
–(works in windows notepad)
Or
body{background-image:url(flower.jpg)}
Or
body{background-image:url(image address)}
<ol style=list-style-type:lower-roman>
(lower-roman/upper-alpha)
-changes the format of the ordered list pointing
<li style=color:darkgreen>
(darkgreen or any color that is recognised by the HTML language) .ML
-changes color of THAT <li> POINT LINE ONLY
ul{list-style-type:circle;}
(circle/disc/square)
-changes the shape of the bullet point for unordered lists
table{border-spacing:10px;width:100%}
th,td{border:1px solid teal;padding:10px;text-align:left}
th{background-color:RGB(12,414,212)}
tr:hover{background-color:RGB(112,32,143)}
-(these are other formatting and editing the codes for a table)
{text-align:left}
- defines at which side the text appears inside a cell
{vertical-align:middle}
- defines if the text is at the top,middle or bottom of the cell
table{table-layout:fixed}
- layout(fixed|auto|initial)
Fixed:column width depends on the table width and the width of the columns not the content of
the cells
Auto: width of column is automatically set to the maximum contents in the column cell
Initial: the default is used for column width
{border-spacing}
- space between borders of cells and table
Caption{caption-side:bottom}
- top(default)|bottom
<table style=empty-cells:hide>
- hide|show
- hide(empty-cell without border)
- having a cell but no info(border around empty-cell)