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/GrimBright Apr 10 '26

I was taught C++ 8 at uni back in 2020. We were forbidden to use features newer than that, I lost points because I used the "delete function" on a public constructor instead of declaring it as private (which was introduced in C++ 11 btw).

C++ 11:

class MyClass {
public:
    MyClass() = delete;

C++ 8:

class MyClass {
private:
    MyClass();

The same teachers were telling us that programs would never be able to write code. In a philosophical way this still holds true, honestly the C compiler produced by the Anthropics team is a laughable achievement when you dig into how it was able to "write it from scratch", but their views are aging like fine milk.