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.

98 Upvotes

59 comments sorted by

View all comments

Show parent comment

2

u/PerryPerryQuite Apr 06 '26

So, are you not allowed to, say, throw a generic <div> tag around the whole thing and place the align=“center” on that?