网站制作教程:html5+css3制作网页完整教程
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;"><span style="color: black;">大众</span>好!今天来手把手教<span style="color: black;">大众</span>写</span><span style="color: black;">html5+css3+jq</span><span style="color: black;">的网页代码。其实学习网站代码并不会很难,先学会理论,再去多<span style="color: black;">瞧瞧</span>成熟网站的代码,直到能看懂。有时间就自己写代码做项目。<span style="color: black;">这般</span>就能<span style="color: black;">火速</span>上手学会了。下面就用一个商城网页的例子为<span style="color: black;">大众</span>说<span style="color: black;">仔细</span>介绍网页代码编写。</span></p>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;">项目效果图</span></p>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><img src="https://mmbiz.qpic.cn/mmbiz_jpg/Lo7Chzn92ibiaSpZsS1kpXFyguBuFWf9Dj8pFsQmAzMial3AS9wgsA1pBNib49QmMTeusC8WITmmZaKvTM0HUceMiaA/640?wx_fmt=jpeg&from=appmsg&tp=webp&wxfrom=5&wx_lazy=1&wx_co=1" style="width: 50%; margin-bottom: 20px;"></p>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;">文件目录文件</span></p>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><img src="https://mmbiz.qpic.cn/mmbiz_jpg/Lo7Chzn92ibiaSpZsS1kpXFyguBuFWf9DjqLdGgf5PXJSpB7wSicWfUib57LCyEsMoicb3LJahAfsa53TfORcq2zUiag/640?wx_fmt=jpeg&from=appmsg&tp=webp&wxfrom=5&wx_lazy=1&wx_co=1" style="width: 50%; margin-bottom: 20px;"></p>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;">Index.html</span><span style="color: black;">是首页,默认打开<span style="color: black;">便是</span>这个页面。<span style="color: black;">能够</span>用代码编辑软件新建这个文件。网页编辑软件用</span><span style="color: black;">DW</span><span style="color: black;">、</span><span style="color: black;">notepad++</span><span style="color: black;">、</span><span style="color: black;">Sublime Text</span><span style="color: black;">、</span><span style="color: black;">Hbuilder</span><span style="color: black;">等。<span style="color: black;">咱们</span>就用</span><span style="color: black;">Hbuilder</span><span style="color: black;">软件来制作这个页面,</span><span style="color: black;">Hbuilder</span><span style="color: black;">能自动补全代码,做项目会节省不少体力。</span></p>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;">用</span><span style="color: black;">Hbuilder</span><span style="color: black;">新建</span><span style="color: black;">index.html</span></p>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><img src="https://mmbiz.qpic.cn/mmbiz_jpg/Lo7Chzn92ibiaSpZsS1kpXFyguBuFWf9Djxybn93a1CclsIGeVwtCXZyVyicabT6Fvicib2aoqO5bLc6iaWYwwwop4tQ/640?wx_fmt=jpeg&from=appmsg&tp=webp&wxfrom=5&wx_lazy=1&wx_co=1" style="width: 50%; margin-bottom: 20px;"></p>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;">上面啥都<span style="color: black;">无</span>,<span style="color: black;">此刻</span>来布局代码</span></p>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><img src="https://mmbiz.qpic.cn/mmbiz_jpg/Lo7Chzn92ibiaSpZsS1kpXFyguBuFWf9DjkibdH0mo0p4fnicSITRibf6IGohhRA7gIfKF1ickUkS9TbZfpAwoWgic0zA/640?wx_fmt=jpeg&from=appmsg&tp=webp&wxfrom=5&wx_lazy=1&wx_co=1" style="width: 50%; margin-bottom: 20px;"></p>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><img src="https://mmbiz.qpic.cn/mmbiz_jpg/Lo7Chzn92ibiaSpZsS1kpXFyguBuFWf9DjUvicFWKVcica2l29Q3hRn3TZbfQdicP2ZO1n0Gxibia34PatHukUlAylezg/640?wx_fmt=jpeg&from=appmsg&tp=webp&wxfrom=5&wx_lazy=1&wx_co=1" style="width: 50%; margin-bottom: 20px;"></p>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;">相应的</span><span style="color: black;">Css</span><span style="color: black;">样式效果,html5与过去最大的<span style="color: black;">区别</span>在于flex的运用。之前用float来排版,<span style="color: black;">此刻</span>只直接用flex盒模型布局,属性box-sizing来<span style="color: black;">掌控</span>居中,对齐等。</span></p>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><img src="https://mmbiz.qpic.cn/mmbiz_jpg/Lo7Chzn92ibiaSpZsS1kpXFyguBuFWf9DjoGLicnLvAjXwVl1EGcy8Q7lGONCRbibnT7Iqw0oRc1XRQ2eicdMnCoSag/640?wx_fmt=jpeg&from=appmsg&tp=webp&wxfrom=5&wx_lazy=1&wx_co=1" style="width: 50%; margin-bottom: 20px;"></p>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><img src="https://mmbiz.qpic.cn/mmbiz_png/Lo7Chzn92ibiaSpZsS1kpXFyguBuFWf9DjW5xrwRibpDSY9icmRG5VmITPr5Ejtwkd9O4pIwKoS20G54bz0FmupshA/640?wx_fmt=png&from=appmsg&tp=webp&wxfrom=5&wx_lazy=1&wx_co=1" style="width: 50%; margin-bottom: 20px;"></p>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;">Js</span><span style="color: black;">菜单切换,<span style="color: black;">运用</span>了<span style="color: black;">jq</span>,jq是javascript框架,它能快捷和<span style="color: black;">有效</span>地<span style="color: black;">研发</span>网站特效,不<span style="color: black;">必须</span>用源生的js代码,比较繁琐,用jq代码直接调用<span style="color: black;">就可</span>。</span></p>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><img src="https://mmbiz.qpic.cn/mmbiz_jpg/Lo7Chzn92ibiaSpZsS1kpXFyguBuFWf9DjyTOrvHCiccLkPg4Bvw1mJ2pncgb9OLXQ4wZv7M1RYHDdRHvMqgfmbMA/640?wx_fmt=jpeg&from=appmsg&tp=webp&wxfrom=5&wx_lazy=1&wx_co=1" style="width: 50%; margin-bottom: 20px;"></p>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;"><span style="color: black;">最后</span>效</span><span style="color: black;">果</span></p>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><img src="https://mmbiz.qpic.cn/mmbiz_jpg/Lo7Chzn92ibiaSpZsS1kpXFyguBuFWf9DjJJ6aGgSkNsudXWjiaXDNzJgbzp0je3vz4s81J9icQWpfuK0D3KNpsBlA/640?wx_fmt=jpeg&from=appmsg&tp=webp&wxfrom=5&wx_lazy=1&wx_co=1" style="width: 50%; margin-bottom: 20px;"></p>
在遇到你之前,我对人世间是否有真正的圣人是怀疑的。 软文发布论坛开幕式圆满成功。 http://www.fok120.com 同意、说得对、没错、我也是这么想的等。 可以发布外链的网站 http://www.fok120.com/
页:
[1]