Week 1_Practice 1.1_A Simple Web

A web was created using html and css (provided). It looks like this:

The html code is:

What I have learned from this web creation is: 

1) The html is used for creating structure. The DOM structure of html file: html, head, body. The head part includes the meta, title, and the link to css file. The body parts includes several parallel div sub-parts, and then leads to even smaller sub-parts like img, p, a, ul, li, h1, h2, h3.  

2) The css is used for decorating the web. css file could be linked to the html file in head part. Some aggregated decoration styles for similar items could be incorporated into the html using id (#) or class (.).  

最后编辑于
©著作权归作者所有,转载或内容合作请联系作者
平台声明:文章内容(如有图片或视频亦包括在内)由作者上传并发布,文章内容仅代表作者本人观点,简书系信息发布平台,仅提供信息存储服务。

推荐阅读更多精彩内容

  • 设计院工作有个特点,忙的时候那是真忙,昏天地暗的,还要看情况是否熬夜,可是闲起来的时候呢,闲的蛋疼,每天做的...
    尤其是只小怪兽阅读 943评论 4 1
  • 昨晚睡不着,结果被安利了优酷的《晓说》,很喜欢高晓松的脱口秀节目。听了他关于青楼的解说,想起了很多往事。 在上小学...
    考虫阅读 424评论 0 0
  • 默将芳魂独寄茶,寒霜频欺几曾斜。 可悲今古风流客,只识乌龙不识花。
    梦之旅_926e阅读 182评论 12 11
  • 哈哈,还是喜欢嘚瑟下,五中二,概率很高啦。 不过,说实话,觉得还有很多需要提高的地方,比如排版类,我只用手机,没有...
    卡卡22阅读 241评论 0 1