Author: codertutor_3o6d0o

Margin

The CSS Margin property it is used to set the space around an html element. The margin values are: auto, length (px, pt, cm), %, inherit. The Margin properties are: margin margin-left margin-right margin-top margin-bottom Margin example: <html> <head> </head> <body>...

Border

The CSS Border property it is used to set the border of an html element. The Border properties are: border-color border-style border-width Border example: <html> <head> </head> <body> Html element with no border. Html element with solid border and color blue....

Table Width and Height

The CSS Table Width and Height property it is used to set the width and the height of a html table. Table Width and Height <style> table { width: 50%; height: 50%;} </style> Table Width and Height example: <html> <head> </head>...

Table Collapse Border

The CSS Table Collapse Border property it is used to set the border of a html table into a single border. Table Collapse Border <style> table { border-collapse: collapse; } table, th { border: 2px solid green; } td { border:...

Table Border

The CSS Table Border property it is used to set the border of a html table. Table Border <style> table, th { border: 2px solid green; } td { border: 1px solid green; } </style> Table Border example: <html> <head> </head>...