How many types CSS can be include in HTML?
0
There are three ways to include the CSS with HTML:
- Inline CSS : It is used when only small context is to be styled.
- To use inline styles add the style attribute in the relevant tag.
- External Style Sheet : Is used when the style is applied to many pages.
- Each page must link to the style sheet using the tag. The tag goes inside the head section:
- Internal Style Sheet : Is used when a single document has a unique style.
- Internal styles sheet needs to put in the head section of an HTML page, by using the
Sign in to add a comment
0 Answers
0
📝 No answers yet!
Be the first to answer this interview question.
Your Answer
Sign in to post your answer and help the community.