High-level: HTML is bones/structure, while css is skin/styling.
HTML
HTML is short for ‘Hypertext Markup Language’, which is the language your web browser uses to describe the content and structure of web pages.
HTML = Nested Boxes: HTML is a brunch of boxes, nested inside of each other.
1 | <!--Comment: This makes sure page uses the latest html and not some random fallback version--> |
CSS
CSS is short for ‘Cascading Style Sheets’, it is the rules that tell your web browser how stuff looks.
CSS = A list of descriptions
1 | div{ |
Combine HTML and CSS
1 |
|
- 本文作者: 夏花
- 本文链接: http://xiahua19.github.io/2022/08/11/weblab-1-HTML-and-CSS/
- 版权声明: 本博客所有文章除特别声明外,均采用 MIT 许可协议。转载请注明出处!