html5是什么意思,html5页面框架布局代码

html5是什么意思,HTML5是构建Web内容的一种语言描述方式,HTML5是互联网的下一代标准,是构建以及呈现互联网内容的一种语言方式,被认为是互联网的核心技术之一.

html5是什么意思

html5也是属于Web代码中一种语言,是下一代计算机前端语言标准,用户在浏览网页的时候其实都是通过html语言编写的,再通过浏览器进行转换成用户可识别的信息,html5是在html4.0基础上进行改进的,虽然目前html5技术还没有大规模应用,但html5技术还是需要了解一些的。

html5页面框架新布局的意义

1、html5可以让很多网页面代码语义结构更简单,代替了大量无意义的div标签
2、html5提升了网页质量及用户体验度;
3、合并了JS和css低码,提高了网站加载速度,减少了网站页面加载时间;
4、html5语义结构对搜索引擎友好,更利于网站搜索引擎优化。

传统网页布局

html5页面框架新布局

html5页面框架新布局与传统网页布局的区别

HTML5 页面布局代码:

<!DOCTYPE html>
<html lang=”en”>
<head>
<meta charset=”UTF-8″>
<meta name=”viewport” content=”width=device-width, initial-scale=1.0″>
<meta http-equiv=”X-UA-Compatible” content=”ie=edge”>
<title>HTML5 页面布局</title>
<link rel=”stylesheet” href=”./css/index.css”>
</head>
<body>
<header>
<div class=”container”>
<a href=”./index.html”><img src=”./images/logo.png” alt=”logo”></a>
<nav>
<a class=’Home active’ href=”#”>Home</a>
<a class=’Course’ href=”#”>Course</a>
<a class=’Actual’ href=”#”>Actual</a>
<a class=’Plan’ href=”#”>Plan</a>
<a class=’FAQ’ href=”#”>FAQ</a>
<a class=’Notes’ href=”#”>Notes</a>
</nav>
</div>
</header>
<section class=”banner”>
<ul>
<li class=”left”><a href=”#”><img src=”./images/banner/banner1.jpg” alt=”1″></a></li>
<li class=”active”><a href=”#”><img src=”./images/banner/banner2.jpg” alt=”2″></a></li>
<li class=”right”><a href=”#”><img src=”./images/banner/banner3.jpg” alt=”3″></a></li>
</ul>
</section>
<section class=”main”>
<aside>
<!– <samp> 标签表示一段用户应该对其没有什么其他解释的文本字符。要从正常的上下文抽取这些字符时,通常要用到这个标签 –>
<h1>Recent <samp>Course</samp></h1>
<dl>
<dt>Hyper Text Markup Language</dt>
<dd>HTML is the standard markup language used to create web pages and its elements form the building blocks of all websites.</dd>
<dd><img src=”./images/Course/05_05.png” alt=”1″></dd>
</dl>
<dl>
<dt>Cascading Style Sheets</dt>
<dd>Cascading Style Sheets (CSS) is a simple mechanism for adding style (e.g., fonts, colors, spacing) to Web documents.</dd>
<dd><img src=”./images/Course/06_04.png” alt=”2″></dd>
</dl>
<dl>
<dt>JavaScript</dt>
<dd>JavaScript is a high-level, dynamic, untyped, and interpreted programming language.</dd>
<dd><img src=”./images/Course/09_07.png” alt=”3″></dd>
</dl>
<dl>
<dt>AngularJS</dt>
<dd>AngularJS is an open-source web application framework mainly maintained by Google and by a community of individuals and…</dd>
<dd><img src=”./images/Course/02_09.png” alt=”4″></dd>
</dl>
</aside>
<article>
<h1>Welcome to <samp>Massive Open Online Course!</samp></h1>
<p>We provide the latest knowledge to help you cope with the changing world!</p>
<img src=”./images/article.jpg” alt=”11″>
<p>We hope that all the students who love the Internet can be more convenient access to learning resources, using the Internet thinking to change our learning.</p>
<p>Focus on IT skills education MOOC, consistent with the development trend of the Internet down to earth’s MOOC. We are free, we only teach useful, we concentrate on education.</p>
</article>
</section>
<footer>
<div class=”container”>
<p>Copyright © 2016 imooc.com All Rights Reserved.</p>
<span>
<img src=”./images/icon/qq.png” alt=”1″>
<img src=”./images/icon/sina.png” alt=”2″>
<img src=”./images/icon/weichat.png” alt=”3″>
</span>
</div>
</footer>
</body>
</html>

原创文章,作者:大兵,如若转载,请注明出处:https://www.zhuzhouren.cn/seojishu/3548.html

发表评论

登录后才能评论
联系我

平时工作忙:合作还是咨询SEO服务,请简明扼表明来意!谢谢!

在线咨询:点击这里给我发消息

邮件:dabingseo@qq.com
工作时间:周一至周六,10:30-24:30,节假日休息

个人微信
个人微信
分享本页
返回顶部