Language : HTML -
The HyperText Markup Language or HTML is the standard markup language for documents designed to be displayed in a web browser. It defines the meaning and structure of web content. It is often assisted by technologies such as Cascading Style Sheets and scripting languages such as JavaScript.
CSS Border
The CSS border property defines a border around an HTML element.
Tip: You can define a border for nearly all HTML elements.
CSS Padding
The CSS padding property defines a padding (space) between the text and the border.
CSS Margin
The CSS margin property defines a margin (space) outside the border.
HTML element ਦੇ ਬਾਹਰ ਅਤੇ Browser window ਦੇ ਅੰਦਰ ਖਾਲੀ ਜਗ੍ਹਾ ਨੂੰ Margin ਕਿਹਾ ਜਾਂਦਾ ਹੈ | ਇਹ css property element ਦੇ ਦੁਆਲੇ (around) ਦੀ ਜਗ੍ਹਾ represent ਕਰਨ ਲਈ ਕੀਤੀ ਜਾਂਦੀ ਹੈ ਇਸੇ ਜਗ੍ਹਾ ਨੂੰ ਹੀ margin (ਹਾਸ਼ੀਆ) ਕਹਿੰਦੇ ਹਨ|margin ਦੋ elements ਦੇ ਵਿਚਕਾਰ ਦੀ ਉਪਲਬਧ ਰਹਿੰਦਾ ਹੈ | margin ਦਾ ਕੋਈ color ਨਹੀਂ ਹੁੰਦਾ ਇਹ ਪਾਰਦਰਸ਼ੀ ਹੁੰਦੇ ਹਨ |
<!DOCTYPE html>
<html>
<head>
</head>
<body>
<h1>CSS Border, Padding and Margin</h1>
<hr>
<p>CSPunjab.Com (border)</p>
<p>CSPunjab.Com (border)</p>
<BR><BR>
<b>CSPunjab.Com (Padding)</b>
<BR><BR><BR><BR>
<i>CSPunjab.Com (Margin)</i>
</body>
</html>