Annotary
Sort

HTML Responsive Web Design

www.w3schools.com
Zhouhan LIN Zhouhan LIN
1 week ago

With media queries you can define completely different styles for different browser sizes.

Cancel
Sort

HTML head Elements

www.w3schools.com
Zhouhan LIN Zhouhan LIN
1 week ago

Metadata typically define the document title, character set, styles, links, scripts, and other meta information.

Cancel
  • defines a title in the browser tab
  • Cancel
  • provides a title for the page when it is added to favorites
  • Cancel
    • displays a title for the page in search engine results

    Cancel
    Show all 4 highlights
    Sort

    HTML File Paths

    www.w3schools.com
    Zhouhan LIN Zhouhan LIN
    1 week ago
    located at the root of the current web
    Cancel
    best practice to use relative file paths
    Cancel
    Show all 2 highlights
    Sort

    HTML id

    www.w3schools.com
    Zhouhan LIN Zhouhan LIN
    1 week ago

    An HTML element can only have one unique id that belongs to that single element, while a class name can be used by multiple elements:

    Cancel
    Sort

    HTML Block and Inline Elements

    www.w3schools.com
    Zhouhan LIN Zhouhan LIN
    1 week ago

    The <div> element is often used as a container for other HTML elements.

    Cancel

    A block-level element always starts on a new line and takes up the full width available (stretches out to the left and right as far as it can).

    Cancel

    An inline element does not start on a new line and only takes up as much width as necessary.

    Cancel

    The <span> element is often used as a container for some text.

    Cancel
    Show all 4 highlights
    Sort

    HTML CSS

    www.w3schools.com
    Zhouhan LIN Zhouhan LIN
    1 week ago

    CSS can be added to HTML elements in 3 ways:

    • Inline - by using the style attribute in HTML elements
    • Internal - by using a <style> element in the <head> section
    • External - by using an external CSS file
    Cancel
    Loading...