• linkedu视频
  • 平面设计
  • 电脑入门
  • 操作系统
  • 办公应用
  • 电脑硬件
  • 动画设计
  • 3D设计
  • 网页设计
  • CAD设计
  • 影音处理
  • 数据库
  • 程序设计
  • 认证考试
  • 信息管理
  • 信息安全
菜单
linkedu.com专业计算机教程网站
  • 网页制作
  • 数据库
  • 程序设计
  • 操作系统
  • CMS教程
  • 游戏攻略
  • 脚本语言
  • 平面设计
  • 软件教程
  • 网络安全
  • 电脑知识
  • 服务器
  • 视频教程
  • html/xhtml
  • html5
  • CSS
  • XML/XSLT
  • Dreamweaver教程
  • Frontpage教程
  • 心得技巧
  • bootstrap
  • vue
  • AngularJS
  • HBuilder教程
  • css3
  • 浏览器兼容
  • div/css
  • 网页编辑器
  • axure
您的位置:首页 > 网页设计 >html5 > HTML5几个设计和修改的页面范例分享

HTML5几个设计和修改的页面范例分享

作者:佚名 字体:[增加 减小] 来源:互联网 时间:2017-08-06

本文主要包含HTML5等相关知识,佚名 希望在学习及工作中可以帮助到您

要了解和熟悉 HTML5 中的新的语义元素,最好的方式就是拿一经典的 HTML 文档作例子,然后把 HTML5 的一些新鲜营养充实进入。如下就是我们要改造的页面,该页面很简单,只包含一篇文章。

ApocalypsePage_Original.html,这是一个格式非常规范的页面,所有的样式均来自于外部样式表。

  1. <!DOCTYPE html>  
  2. <html lang="zh-CN">  
  3. <head>  
  4.   <meta charset="utf-8">  
  5.   <title>Apocalypse Now</title>  
  6.   <link rel="stylesheet" href="ApocalypsePage_Original.css">  
  7. </head>  
  8.   
  9. <body>  
  10. <div class="Header">  
  11.   <h1>How the World Could End</h1>  
  12.   <p class="Teaser">Scenarios that spell the end of life as we know</p>  
  13.   <p class="Byline">by Ray N. Carnation</p>  
  14. </div><!-- end Header -->  
  15.   
  16. <div class="Content">  
  17.   <p><span class="LeadIn">Right now</span>, you're probably feeling pretty good. After all, life in the developed world is comfortable<span class="style1">—</span>probably more comfortable than it's been for the average human being throughout all of recorded history.</p>  
  18.   <p>But don't get too smug. There's still plenty of horrific ways it could all fall apart. In this article, you'll learn about a few of our favorites.</p>  
  19.      
  20.   <h2>Mayan Doomsday</h2>  
  21.   <p>Skeptics suggest that the Mayan calendar simply rolls to a new 5,126-year era after 2012, and doesn't actually predict a life-ending apocalypse. But given that the long-dead Mayans were wrong about virtually everything else, why should we trust them on this?</p>  
  22.      
  23.   <h2>Robot Takeover</h2>  
  24.   <p>Not quite as frightening as a Vampire Takeover or Living-Dead Takeover, a robot rebellion is still a&nb

您可能想查找下面的文章:

相关文章

  • 2018-12-03vue中解决v-for使用报红并出现警告
  • 2018-12-03html5 touch事件实现触屏页面上下滑动(二)_html5教程技巧
  • 2017-08-06HTML5离线缓存在tomcat下部署可实现图片flash等离线浏览
  • 2018-12-03HTML5高级编程之图形扭曲及其应用一(原理篇)
  • 2018-12-03HTML5之7 __Canvas: 缩放、旋转、创建阴影
  • 2017-08-06html5时钟实现代码
  • 2018-12-03随着大量 HTML5 应用的出现,如何加强对 JavaScript 的源代码的保护?
  • 2018-12-03Bootstrap拟态框+支付宝首页
  • 2017-08-06HTML5中判断横屏竖屏的方法(移动端)
  • 2018-12-03自己写HTML用Cordova打包与用AppCan、Dcloud、WeX5、ApiCloud有何区别?

文章分类

  • html/xhtml
  • html5
  • CSS
  • XML/XSLT
  • Dreamweaver教程
  • Frontpage教程
  • 心得技巧
  • bootstrap
  • vue
  • AngularJS
  • HBuilder教程
  • css3
  • 浏览器兼容
  • div/css
  • 网页编辑器
  • axure

最近更新的内容

    • HTML5制作3D爱心动画教程 献给女友浪漫的礼物_html5教程技巧
    • html5 canvas的绘制文本自动换行的示例代码
    • HTML5实战与剖析之CSS选择器——querySelector()
    • 为什么有些网站在用鼠标拖动选取文字或其他内容的时候,背景色不是默认的颜色?如何进行自定义?
    • HTML5 Canvas 破碎重组的视频特效代码具体介绍
    • h5在网页中上传超大文件教程实例
    • HTML5: Web 标准最巨大的飞跃
    • H5怎样做出图片拖拽上传预览组件
    • 可以用WebRTC来做视频直播吗?
    • canvas需要在标签里直接定义宽高

关于我们 - 联系我们 - 免责声明 - 网站地图

©2020-2025 All Rights Reserved. linkedu.com 版权所有