Horje

How to set Default CSS Settings for HTML <body> Tag

Follow the Example.

index.html
Example: HTML
<style>
body { 
  display: block;
  margin: 8px;
}
 
body:focus { 
  outline: none;
}
</style>
<body>
The content of the document......
<p>Change the default CSS settings to see the effect.</p>
</body>

Output should be:

How to set Default CSS Settings for HTML <body> Tag




Type:
html
Category:
Web Tutorial
Sub Category:
HTML Tag
Uploaded by:
Admin