+ 1

Can you add CSS code to the HTML code

Joining CSS to html

10th May 2019, 10:41 AM
Khalid
Khalid - avatar
5 RĂ©ponses
+ 10
CSS can be added to HTML elements in 3 ways= 1)Inline - by using the style attribute in HTML elements. 2) Internal - by using a <style> element in the <head> section. 3) External - by using an external CSS file.
10th May 2019, 2:04 PM
Mr AJX 😎😈
Mr AJX 😎😈 - avatar
+ 4
Hi Khalid Yes you can but first you should check https://www.sololearn.com/Course/CSS/?ref=app If you complete this css lesson you will able to do the things in your mind.
10th May 2019, 11:25 AM
Melih Melik Sonmez
Melih Melik Sonmez - avatar
+ 2
The beginning of the CSS course tells you about that...
10th May 2019, 11:18 AM
Decimis † 𝕯𝖊𝖈𝖎𝖒𝖎𝖘
Decimis † 𝕯𝖊𝖈𝖎𝖒𝖎𝖘 - avatar
+ 2
Yes there are three methods of adding css code to html :- (A) External (creating another document for css with extension .css and linking it to html) (B) Internal(Between head tag or bottom of body tags) (C)Inline(in the same line)
10th May 2019, 11:51 AM
Ankit Kumar
Ankit Kumar - avatar