Loading course content...
Loading course content...
When the browser renders an element, that element will be treated as a box. From the inside to the outside, you will find the content box:

The padding, which is the space between the border box and the content box:

The border box:

As well as the margin, which is the space outside the border:

<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>Document</title> <link rel="stylesheet" href="/styles.css"> </head> <body> <p>Hello, World!</p> </body> </html>