CSS introduction
basic introduction
- CSS是用来创建网页风格的语言。
- 除CSS外,还有HTML,Javascript等语言。
- HTML跟结构和内容有关,内容为王,没有内容是没有意义的。
Tool of the Trade
- 首先需要一个浏览器,例如Internet,Chrome等
- 然后还需要一个文本编辑器
- syntax highlighting,the editor will display text in different colors
Opening a .HTML File
- 第一种方式:double clicking
- 第二种方式:使用代码编辑器打开
- syntax highlighting,the editor will display text in different colors
HTML页面的组织结构
基本结构示例
- !doctype html(声明)
- html
- head(头部标记符)
- 标题
- /head(头部结束标记符)
- body(主要部分)
- This is just text(内容:文本,超链接 ,音频,视频等)
- /body
- /html