• 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.

  • 相关阅读:
    java 集合排序
    java传值和传址
    Dom4j操作xml
    JAXP操作xml
    乐观锁和悲观锁【转】
    java IO【转】
    java 可变参数
    Eclipse调试Java的10个技巧【转】
    编译JDK源代码【转】
    Access restriction: The method typeNameToClass(String) from the type ObjectHandler is not accessible due to restriction on required library
  • 原文地址:https://www.cnblogs.com/xkxf/p/8570329.html
Copyright © 2020-2023  润新知