+ 6

How to use HTML and CSS together

Please tell me about this I am confused

1st Dec 2019, 1:54 AM
ÃbhĂŻĆĄhĂȘÄ· pãƂ
ÃbhĂŻĆĄhĂȘÄ· pãƂ - avatar
8 Answers
+ 9
There are a few ways. Here on Sololearn you can just add your CSS in that section. You can also use style tags or a stylesheet. Best of luck.
1st Dec 2019, 2:18 AM
bobbie
bobbie - avatar
+ 9
Thanks
1st Dec 2019, 2:23 AM
ÃbhĂŻĆĄhĂȘÄ· pãƂ
ÃbhĂŻĆĄhĂȘÄ· pãƂ - avatar
+ 7
<style> add your CSS in that section </style>
1st Dec 2019, 8:16 AM
ÃbhĂŻĆĄhĂȘÄ· pãƂ
ÃbhĂŻĆĄhĂȘÄ· pãƂ - avatar
+ 4
HTML is used for markup, i.e it acts as a skeleton for the web page. CSS is used for presentation like colors, font size etc. The best approach is to separate markup from presentation. Write your HTML in file with html extension (page.html), then all your styles in a file with css extension(style.css) then link these two. in HTML page within the <head> use the link tag as shown below; <html> <head> <link rel="stylesheet" href="style.css"> </head> <body></body> </html>
4th Dec 2019, 8:26 AM
Ahmed M Hassan
Ahmed M Hassan - avatar
+ 3
please review the course https://www.sololearn.com/Course/CSS
1st Dec 2019, 2:44 AM
BroFar
BroFar - avatar
+ 3
Sololearn: Put your CSS in the CSS section Other Code/Text Editors: Make a seperate sheet (name.css) and link it to your page via the link tag in the head. All: You could also use the style tag in the head or body or use the style attribute in the tag.
1st Dec 2019, 4:19 PM
Joshua
+ 2
If you use other editors like sublime text, notepad ++, atom. To create a full WEB file, you need to create 3 folders, give them names, indicate in the settings what language you will write, then in the html file via <script> you can connect your other file with css or js
1st Dec 2019, 10:03 AM
No Activity
No Activity - avatar
+ 2
Previous answers is true, but your website will be work slow. So just write in <head> tag <link> Example: <head> <link rel="stylesheet" href="example.css" /> </head>
4th Dec 2019, 3:08 AM
Vladislav
Vladislav - avatar