Which of the following is the preferred standard for responsive web design?

Study for the CIW User Interface Designer Test. Prepare with flashcards and multiple choice questions; each query provides hints and explanations. Get ready for your exam!

Multiple Choice

Which of the following is the preferred standard for responsive web design?

Explanation:
Responsive web design relies on keeping content separate from how it looks. HTML provides the structure and meaning of the content, while CSS controls the presentation, including layout, typography, and how things adapt at different screen sizes through features like media queries and flexible units. This separation makes sites easier to maintain, accessible, and capable of adjusting to phones, tablets, and desktops without changing the HTML. Choosing to format the site with HTML and style it with CSS aligns with that approach. It lets the content remain semantic and the appearance adapt with CSS rules, which is essential for responsive behavior. Flash is outdated and not suitable for responsive design. Using JavaScript to set all CSS styles or to control interactivity undermines the separation of concerns and can hurt performance and accessibility. Reversing the roles—having CSS organize information and HTML control appearance—misunderstands which layer handles structure versus presentation.

Responsive web design relies on keeping content separate from how it looks. HTML provides the structure and meaning of the content, while CSS controls the presentation, including layout, typography, and how things adapt at different screen sizes through features like media queries and flexible units. This separation makes sites easier to maintain, accessible, and capable of adjusting to phones, tablets, and desktops without changing the HTML.

Choosing to format the site with HTML and style it with CSS aligns with that approach. It lets the content remain semantic and the appearance adapt with CSS rules, which is essential for responsive behavior.

Flash is outdated and not suitable for responsive design. Using JavaScript to set all CSS styles or to control interactivity undermines the separation of concerns and can hurt performance and accessibility. Reversing the roles—having CSS organize information and HTML control appearance—misunderstands which layer handles structure versus presentation.

Subscribe

Get the latest from Passetra

You can unsubscribe at any time. Read our privacy policy