css 第2课:HTML和CSS基础知识(3/3)

Posted

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了css 第2课:HTML和CSS基础知识(3/3)相关的知识,希望对你有一定的参考价值。

<!--  
Exercise III - Add CSS
Time: 30 Minutes

Add HTML and CSS to create a webpage for a business (real or imagined). The following are the minimum requirements for your page; feel free to add more HTML or CSS if you have additional time. 

HTML requirements:
* three divs
* a span and a paragraph 
* two headers
* a link
* an image
* a list
* a class (which should be put on multiple elements)
* two ids 

CSS requirements:
* a tag selector
* a class selector
* an id selector
* use the following attributes: height, width, border, color, background-color, font-size
* add margin and padding to two different elements  

Stretch Goal: Use online resources to learn a little about the CSS properties of 'display' and 'position'. Incorporate them into your page.
-->
<div>
  <h1>Very Fantastic Business</h1>
  <p>Our product is great. You should buy it.</p>
</div>


Lesson 2: HTML and CSS Fundamentals (3/3)
-----------------------------------------


A [Pen](https://codepen.io/lambdaschool/pen/QrgyBB) by [Lambda School](https://codepen.io/lambdaschool) on [CodePen](https://codepen.io).

[License](https://codepen.io/lambdaschool/pen/QrgyBB/license).
h1 {
  
}

p {

}

以上是关于css 第2课:HTML和CSS基础知识(3/3)的主要内容,如果未能解决你的问题,请参考以下文章

css 第2课:HTML和CSS基础知识(1/3)

CSS设计彻底研究 这本书的学习材料还有么

「HTML+CSS」基础入门精英课01

前端就业课 第一阶段HTML5 零基础到实战一篇文CSS基础入门

JavaWeb_CSS入门篇

JavaWeb_CSS入门篇