Head first HTML and CSS 总结-2.超文本
超文本简介:Hypertext is text displayed on a computer display or other electronic devices with references (hyperlinks) to other text that the reader can immediately access, or where text can be revealed progressively at multiple levels of detail (also called StretchText).[1] Hypertext documents are interconnected by hyperlinks, which are typically activated by a mouse click, keypress sequence or by touching the screen. Apart from text, the term “hypertext” is also sometimes used to describe tables, images, and other presentational content forms with integrated hyperlinks. Hypertext is one of the key underlying concepts of the World Wide Web,[2] where Web pages are often written in the Hypertext Markup Language (HTML). As implemented on the Web, hypertext enables the easy-to-use publication of information over the Internet.
- 超文本连接:点击链接可跳转到任何路径的Web
- 路径有相对路径与绝对路径,网站内的路径用相对路径,网站外的路径用绝对路径
- 在Web中要使用连接要用<a>元素
- <a href=””><a>,a标签里面的内容可放文字或图片
- href属性:hypertext reference(超文本链接),“ “之间放路径
- “..”该符号功能和DOS命令中一样都是到上一级目录