Table Width and Height
Table Width and Height Width and height of a table is defined by the width and height properties.
Collapse Borders
Collapse Borders The border-collapse property sets whether the table borders are collapsed into a single border or separated:
Table Borders
Table Borders To specify table borders in CSS, use the border property. The example below specifies a black border for <table>, <th>, and <td> elements:
List
Different List Item Markers The type of list item marker is specified with the list-style-type property: Example An Image as The List Item Marker To specify an image as the list item marker, use the list-style-image property: Example List - Shorthand property The list-style property is a shorthand property. It is used to set all...
Link
CSS Links The four links states are: a:link - a normal, unvisited link a:visited - a link the user has visited a:hover - a link when the user mouses over it a:active - a link the moment it is clicked
Text Indentation
Text Indentation The text-indent property is used to specify the indentation of the first line of a text.
Text Transformation
Text Transformation The text-transform property is used to specify uppercase and lowercase letters in a text.
Text Decoration
Text Decoration The text-decoration property is used to set or remove decorations from text. The text-decoration property is mostly used to remove underlines from links for design purposes:
Text Alignment
Text Alignment The text-align property is used to set the horizontal alignment of a text. Text can be centered, or aligned to the left or right, or justified. When text-align is set to "justify", each line is stretched so that every line has equal width, and the left and right margins are straight (like in...