+ 3
Can we use both HTML and css in same webpage?
5 Antworten
+ 2
HTML is used to structure your page, enter your headings, tables, lists, paragraphs, etc and CSS is used to style your page and make it look nicer, Otherwise its just plain old text.
CSS and HTML go together, yes you can have an HTML page without CSS but it'd be ugly
+ 2
Yes, you can do that by using style tag!
ex.
<body>
<p>
I love SoloLearn
</p>
<style>
color:red;
font-family: cursive;
</style>
</body>
You can also use style attribute to decorate a single line!
ex.
<p style="color:red; font-family:cursive;"> I love SoloLearn</p>
+ 1
Yes. Read about <style> tag
0
yes you can, by using inline css or internal and i find it to be the easiest for me using internal css
0
Yes you can