192k views
5 votes
How does CSS differ from HTML?

A. CSS structures a document while HTML stores data.
B. CSS formats a document while HTML stores data.
C. CSS styles a document while HTML structures data.
D. CSS structures data while HTML styles data.

User Garst
by
5.0k points

2 Answers

3 votes

Answer:

My answer is C. CSS formats a document while HTML structures data

User Pran Kumar Sarkar
by
5.6k points
6 votes

Answer:

Correct option is option C

Step-by-step explanation:

Css is called cascading style sheets. CSS is used for styling of the web page using different attributes and styling elements. While HTML is used for the structuring of the website data.Like <h2> is a block element in HTML which assigns a complete row for the heading data, While h2{} is a style sheet (CSS) selector used to apply styling attributes like color, font to h2 element in html

User Igor Kapkov
by
5.8k points