0

Why everything is getting bold while using <h1><h1/>

I used the tag of heading then my whole html page became bold why??

21st Jun 2016, 10:24 AM
Learn Learn
5 odpowiedzi
+ 3
You closed the tag wrong. You need <h1>Some heading</h1> to close the tag.
21st Jun 2016, 12:00 PM
James Flanders
+ 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.
21st Jun 2016, 3:02 PM
ZinC
ZinC - avatar
+ 1
use</h> instead of <h/>
30th Jun 2016, 4:02 PM
Abhishek Goel
+ 1
You close the tag wrong dude. This is the proper way to open and close tag of heading 1 <h1> some text </h>
17th Jul 2016, 8:04 AM
AMITKUMAR PRAJAPATI
AMITKUMAR PRAJAPATI - avatar
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/>
21st Jun 2016, 4:30 PM
YouGoGayle