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.

 

posted @ 2018-03-20 19:56  xkfx  阅读(166)  评论(0编辑  收藏  举报