106k views
1 vote
What is the purpose of HTML and CSS? a. HTML provides the layout and structure. CSS enhances the webpage with colors, font sizes, and incorporates different media.

b. CSS provides the text and links for the webpage. HTML provides the images and other media for the webpage.
c. CSS provides the layout and structure. HTML decorates the webpage with colors, font sizes, and incorporate different media.
d. HTML provides the text and links for the webpage. CSS provides images and other media for the webpage.

User Xearinox
by
8.1k points

1 Answer

2 votes

Final answer:

HTML provides the layout and structure, while CSS enhances the webpage with colors, font sizes, and other visual styles.

Step-by-step explanation:

The purpose of HTML (Hypertext Markup Language) is to provide the layout and structure of a webpage. It uses tags to define elements such as headings, paragraphs, lists, images, links, and more. HTML creates the basic structure of a webpage, organizing its content in a logical manner.

The purpose of CSS (Cascading Style Sheets) is to enhance the webpage by adding colors, font sizes, backgrounds, and other visual styles. CSS allows you to apply styles to HTML elements, making the webpage visually appealing and consistent.

In summary, HTML provides the layout and structure, while CSS enhances the webpage with colors, font sizes, and other visual styles.

User Andreihondrari
by
8.5k points