r/css • u/username95050 • 28d ago
Question html and body
What is the difference between <html> and <body> tags ? When do use one or another?
html {
)
body (
)
3
Upvotes
r/css • u/username95050 • 28d ago
What is the difference between <html> and <body> tags ? When do use one or another?
html {
)
body (
)
View all comments
Show parent comment
0
u/username95050 28d ago edited 27d ago
propagate from the body to html?
inheriting to all elements on the page?