• Notes of Head.First.HTML.and.CSS.2nd.Edition


    What does the web server do?

    tirelessly waiting for requests from web
    browsers

     

    What does the web browser do?

    how does the browser know how to display a page? 

    Notice how each tag in
    the HTML maps to what
    the browser displays.


    HTML gives you a way to “mark up” your text
    with tags that tell the browser how your text
    is structured.

     

    browsers have built-in
    default rules for how to display each of these
    elements.
    But you don’t have to settle for the default
    settings. You can add your own style and
    formatting rules with CSS

    Browsers
    ignore tabs, returns, and most spaces in
    HTML documents.

    So why did we insert our own formatting if
    the browser is just going to ignore it? To help
    us more easily read the document when
    we’re editing the HTML.

    Everyone is talking about HTML5.
    Are we using it? If so, why aren’t we
    saying “HTML-FIVE” instead of “HTML”?
    A: You’re learning about HTML, and
    HTML5 just happens to be the latest version
    of HTML. HTML5 has had a lot of attention
    recently, and that’s because it simplifies

    many of the ways we write HTML and
    enables some new functionality, which
    we’re going to cover in this book. It also
    provides some advanced features through
    its JavaScript application programming
    interfaces (APIs), and those are covered in
    Head First HTML5 Programming.

  • 相关阅读:
    docker网络
    docker-registry搭建
    JDK1.8源码安装
    docker-compose应用
    docker-compose介绍
    docker commit
    CMD/ENTROYPOINT区别
    第一个dockerfile
    SpringBoot整合Mybatis对单表的增、删、改、查操作
    向上取整、向下取整
  • 原文地址:https://www.cnblogs.com/xkxf/p/8570329.html
Copyright © 2020-2023  润新知