</> Code Corner

HTML · HTML Tutorial · Lesson 30

HTML Responsive

Pages that look good on every device.

Responsive web design is about creating pages that look good on all devices — desktops, tablets and phones — by automatically resizing, hiding, shrinking or enlarging content.

Setting the Viewport

Example

<meta name="viewport" content="width=device-width, initial-scale=1.0">

Responsive Images

Keep reading “HTML Responsive”

Sign up to read the full lesson (5 more parts), try every example in the live editor, and take the 5-question quiz.

Chat with us 👋