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>...
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....
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>...
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:...
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>...