The element | Writing HTML Markup

There are many elements that can be used in responsive web design, but some of the most important ones include:

HTML elements:

  • <header>: Defines the header section of the page, often containing the logo, navigation menu, and search bar.
  • <nav>: Represents a section of the page that contains navigation links.
  • <main>: Defines the main content of a page.
  • <article>: Represents an independent item of content, such as a blog post or news article.
  • <section>: Defines a thematic grouping of content.
  • <aside>: Defines content that is tangentially related to the main content.
  • <footer>: Defines the footer section of the page, often containing copyright information, contact details, and links to social media.
  • <img>: Inserts an image into the page.
  • <video>: Embeds a video into the page.
  • <audio>: Embeds an audio file into the page.

CSS properties:

  • width: Sets the width of an element.
  • height: Sets the height of an element.
  • max-width: Sets the maximum width of an element.
  • max-height: Sets the maximum height of an element.
  • min-width: Sets the minimum width of an element.
  • min-height: Sets the minimum height of an element.
  • padding: Adds space around the content of an element.
  • margin: Adds space between elements.
  • display: Controls how an element is displayed (e.g., block, inline, flex, grid).
  • flex-grow, flex-shrink, and flex-basis: Properties used for flexible box layouts.
  • grid-template-columns and grid-template-rows: Properties used for grid layouts.
  • media queries: Allow you to apply different styles based on the screen size.

JavaScript libraries:

  • jQuery: A popular JavaScript library that can be used to simplify DOM manipulation and event handling.
  • Bootstrap: A popular CSS framework that provides a responsive grid system and pre-built components.
  • Foundation: Another popular CSS framework that offers a responsive grid system and pre-built components.

By using these elements and properties, you can create responsive web designs that look great and work well on all devices.

Embedding media in HTML5 | Writing HTML Markup
Media Queries and Container Queries

Get industry recognized certification – Contact us

keyboard_arrow_up
Open chat
Need help?
Hello 👋
Can we help you?