How to make a h1 tag in... | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 4

How to make a h1 tag in...

How to make a h1 tag in <p align="center"> This text is aligned to center </p> (how to make the text bigger and bold!)

13th Sep 2017, 1:28 AM
Jason Wade
Jason Wade - avatar
4 Answers
+ 12
<p align="center" style="font-size: 28pt;"><!--your text goes here--></p>
13th Sep 2017, 1:41 AM
Ranjan Bagri
Ranjan Bagri - avatar
+ 3
and how do you make it Bold?
13th Sep 2017, 1:42 AM
Jason Wade
Jason Wade - avatar
+ 1
@Akram Khalid , I do that but when I do <p aligne="center" <b>text </b></p> it doesn't work
17th Sep 2017, 12:40 AM
Jason Wade
Jason Wade - avatar
0
In css bold = "font-weight : 700" or "bold" weights commonly used are 300 400 700 900 and in between. In html you can use <strong>text </strong> or <b>text </b>.
13th Sep 2017, 3:31 AM
Akram Khalid
Akram Khalid - avatar