+ 1
How do you format the headings?
10 Antworten
+ 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)
+ 2
Using css or <style> tag
+ 1
Usally, I will create an external css file to do styling, and link the css filr to html afterwards
0
What do you mean by formar The headings?
0
format
0
I guess formatting is covered in the next lesson ("Attributes").
0
you need use the css
0
you don't need to format it....
because it can't see on webpage only body tag makes page content
0
by using font face tag
- 1
By html