HTML and CSS
HTML basics and CSS basics(to be more specific in W3)
HTTP : protocol to retrieve document;
HTML: format of the document we retrieve.
HTML
How HTML Document put together?
Tags and mark-up
tags are read and interpreted by browser.
wrap the content
content be wrapped dynamically, 即只有段的区分而没有行的固定要求,再进一步的美化是由CSS完成的。
Tags type
Begin/end: < strong >bold< / strong >
attribute/links/image
with an href value equal to the attribute
< img src = “x.png” >
also a self- closing tag
符号专义: &
注释 < !– – >
列表 : < ul > < li >
表格: < tr > < td >
white space come from paragraph
嵌套举例
< a href = “lists.htm”> < img src = “tiny .png” > < /a >
这里的a 是 anchor tag
Relative / direct link
有时,当跳转URL 的时候,