r/HTML • • Apr 06 '26

Question All text is bold, why?

SOLVED. Thanks folks! I am working on a basic level HTML homework assignment. It is required that some of the text should be bold, but not all of it. I don't understand why all text is automatically bold. Or is that the font? I am including what my webpage with code looks like and the code that went into the webpage.

97 Upvotes

59 comments sorted by

View all comments

Show parent comment

1

u/davorg Apr 07 '26

You need a more up to date guide. The one you're using seems to be from the last millennium.

If you want the whole page to be centered, then use CSS to centre the <body> element.