0
Why everything is getting bold while using <h1><h1/>
I used the tag of heading then my whole html page became bold why??
5 Respuestas
+ 3
You closed the tag wrong. You need <h1>Some heading</h1> to close the tag.
+ 2
HTML tags have opening and closing tags:
<tag>Content</tag>
Some exceptions that may confuse are some tags that are self-closing, meaning they don't need a separate closing tag. Although people are still using '/', HTML5 does not require these. This comes from the now dead XHTML. Examples:
<img src="img.png"/>
<input type="text" name="username"/>
<br/>
<hr/>
It's perfectly correct to just use <br> without a closing tag though.
+ 1
use</h> instead of <h/>
+ 1
You close the tag wrong dude.
This is the proper way to open and close tag of heading 1 <h1> some text </h>
0
You might have forgotten to close the actual heading tag with </h> or forgot to put the body of your page within the body tags <body> </body>. REMEMBER, to close, the / goes BEFORE the letter "h" and not after it. YES = </h> NO = <h/>