How do you format the headings? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

How do you format the headings?

27th Oct 2016, 3:40 PM
Tiffany
10 Answers
+ 3
you can style HTML elements using inline CSS <h1 style="color: cyan">Hi</h1> or using classes, put following code inside <head> <style> .heading { color: cyan; } </style> and this code inside <body> <h1 class="heading">Hi</h1> and there is another way to style element, using external CSS file that you link it in the HTML file you want (tell me if you need more information about this way)
1st Nov 2016, 9:48 PM
Hasan Al-Yazidi
Hasan Al-Yazidi - avatar
+ 2
Using css or <style> tag
28th Oct 2016, 1:10 AM
emilio.ocon
+ 1
Usally, I will create an external css file to do styling, and link the css filr to html afterwards
24th Nov 2016, 11:34 AM
ThisTNTSquid
ThisTNTSquid - avatar
0
What do you mean by formar The headings?
27th Oct 2016, 6:28 PM
Oh Pefamily
Oh Pefamily - avatar
0
format
27th Oct 2016, 6:40 PM
Oh Pefamily
Oh Pefamily - avatar
0
I guess formatting is covered in the next lesson ("Attributes").
28th Oct 2016, 6:42 AM
Tiffany
0
you need use the css
28th Oct 2016, 1:27 PM
Joel Braga
Joel Braga - avatar
0
you don't need to format it.... because it can't see on webpage only body tag makes page content
1st Nov 2016, 9:21 AM
Rutvik
0
by using font face tag
26th Nov 2016, 11:39 AM
Dhanraj Kumar
Dhanraj Kumar - avatar
- 1
By html
3rd Nov 2016, 1:01 PM
nikhil Singh