MCQ IN COMPUTER SCIENCE & ENGINEERING

COMPUTER SCIENCE AND ENGINEERING

WEB TECHNOLOGY

Question [CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER]
What is the difference between HTML and CSS?
A
CSS is one type of HTML
B
HTML gives a webpage structure. CSS provides styling.
C
CSS structures a webpage. HTML strictly provides styling.
D
There is no difference.
Explanation: 

Detailed explanation-1: -HTML and CSS are scripting languages used to create a web page and web applications. HTML provides web page structure, whereas CSS is mainly used to control web page styling.

Detailed explanation-2: -HTML (the Hypertext Markup Language) and CSS (Cascading Style Sheets) are two of the core technologies for building Web pages. HTML provides the structure of the page, CSS the (visual and aural) layout, for a variety of devices.

Detailed explanation-3: -In short, CSS is a design language that makes a website look more appealing than just plain or uninspiring pieces of text. Whereas HTML largely determines textual content, CSS determines visual structure, layout, and aesthetics.

There is 1 question to complete.