I need some explanation of Descentant tag with examples | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

I need some explanation of Descentant tag with examples

how to save the css pgm&how to mention the css pgm in HTML

30th Oct 2018, 12:56 PM
janu
janu - avatar
1 Answer
+ 10
Hi you can use CSS in HTML in 3 different ways. 1.You can use style attribute for a particular tag. 2. You can put a style tag in head section and put style there using classes and id of HTML tags in body. 3. You can write CSS in any other file and embed that file directly in head section of any HTML file.
31st Oct 2018, 2:39 AM
sudhir meena
sudhir meena - avatar