Computer Science, asked by Beilieber1347, 1 year ago

What are different way in which css styles can be included in an html 5document?

Answers

Answered by dipayanghosh185
2

Answer:

The different ways of including css style are:-

  • External File:-  External css file is the another file where you can style your elements, and you have to include a <link> tag in your html5 document in the <head> tag to include your css file..otherwise it will not work
  • Style-tag:-  <style> tag is a tag where you can style your elements in html5 document only...no needed of making external css file.
  • Tag-styling:- another way to style your element is... go to your element tag which one you want to style before ending the > this tag type style: "and your styling orders" for example:- <div style="color:#000"></div>
  • and hence it will start working

Explanation:

Similar questions