1、盒子模型
所有html元素可以看做盒子,
在标准盒模型下,width和height等于content,在ie盒模型下,width和height等于content+padding+border
2、src和href的区别
href:超文本引用
src:引用资源
3、一次完整的HTTP事务是怎么一个过程?
1、域名解析
2、发起tcp三次握手
3、建立tcp连接后发起http请求
4、服务器端响应http请求,浏览器端得到html代码
5、浏览器解析html代码,并请求html代码的资源
6、浏览器对页面进行渲染呈现给用户
4、列举你了解Html5. Css3 新特性
表单控件:deta,time,url,search,number,file
5、flex
布局:display:flex/inline-flex 开启flex布局
方向:flex-direction 决定主轴方向
justify-content 决定主轴上flex-item如何排列
align-item:决定交叉轴上对齐方式
flex-end flex-start stretch center baseline