服务项目
联系方式
保定市遨游计算机服务有限公司
咨询热线:13313028229
售后:0312-6791400
售后:0312-6791126
网址:www.aoyou56.com
地址:保定朝阳大街国贸大厦8楼808室
网站建设中HTML5的特点
[来源:www.aoyou56.com] [作者:网站建设] [日期:18-01-09] [浏览次数:]

HTML5 的发展越来越迈向成熟,很多的应用已经逐渐出现在日常生活中了。不仅在传统网站建设上的互动flash逐渐地被HTML5的技术取代,更重要的是,可以通过HTML5 的技术来开发跨平台的手机软件,让许多开发者感到十分兴奋。
The development of HTML5 is becoming more and more mature, and many applications have gradually appeared in daily life. Not only in traditional website construction of interactive flash was gradually replaced by the technology of HTML 5, more importantly, can use HTML 5 technology to develop cross-platform mobile phone software, many developers are very excited.

 
HTML5是一种设计来组织web内容的语言,其目的是通过创建一种标准的和直观的UI标记语言来把web设计和开发变得容易起来。HTML5提供了一些新的元素和属性,例如:<nau>和<footer>
HTML5 is a language designed to organize web content, and the goal is to make web design and development easy by creating a standard and intuitive UI markup language. HTML5 provides some new elements and attributes, such as: < nau > and < footer >

 
1、取消了一下过时的HTML4标签
1. Cancel the outdated HTML4 tag

 

 
HTML5取消了一下纯粹显示效果的标签,如<font>和<center>,它们已经被CSS取代。HTML5吸取了XHTML2一些建议,包括一些用来改善文档结构的功能,如新的HTML标签header、footer、dialog、aside、figure等的使用,将使内容创作作者更加容易地创建文档。
HTML5 has removed the pure display effect labels such as < font > and < center >, which have been replaced by CSS. HTML 5 learned XHTML2 some Suggestions, including some used to improve the function of the document structure, such as the new HTML tag header, footer, dialog, the use of value, figure, etc, will make it easier to content creation authors to create a document.

 
2、将内容和展示分离
2. Separation of content and presentation

 

 
b和i标签依然保留,但它们的意义已经与之前有所不同,这些标签的意义只是为了将一段文字标识出来,而不是为它们设置粗体或斜体样式。U、foot、center、strike这些标签则被完全去掉。
B and I label will still be in place, but they have are different from before, the meaning of these tags just for the sake of the meaning of a text marked, rather than set bold or italic style for them. The labels of U, foot, center, and strike are completely removed.

 
3、一些全新的表单输入对象
3. Some new form input objects

 

 
增加了包括日期、URL、E-mail地址,其他的对象则增加了对非拉丁字符的支持。HTML5还引入了微数据,这一使用机器可以识别的标签标注内容的方法,使语义web的处理更加简单。总的来说,这些与结构有关的改进使用内容创建者可以创建更干净、更容易管理的网页。
Increased include dates, urls, E-mail addresses, and other objects added support for non-latin characters. HTML5 also introduces microdata, a way to label content that is recognized by machines, making processing of the semantic web easier. In general, these structurally related improvements use content creators to create cleaner, more manageable pages.

 
4、全新的、更合理的标签
4. Brand new, more reasonable label

 

 
多媒体对不再全部绑定在object或embed标签中,而是视频有视频的标签,音频有音频的标签。
Multimedia is no longer bound to the object or embed tag, but video has a video label, and audio has audio tags.

 
5、支持音频的播放/录音功能
5. Support audio playback/recording function

 

 
目前在播放/录制音频的时候可能需要用到flash、QuickTime或Java,而这也是HTML5的新功能之一。
Flash, QuickTime, or Java may need to be used for playback/recording audio, which is one of the new features of HTML5.

 
6、本地数据库
6. Local database

 

 
这个功能将内嵌一个本地SQL数据库,以加速交互搜索、缓存以及索引功能。同时,那些离线web程序也将因此获益匪浅。
This feature will embed a local SQL database to accelerate interactive search, caching, and indexing capabilities. In the meantime, those offline web applications will also benefit greatly.

 
7、canvas对象
7. Canvas object

 

 
将给浏览器带来直接在上面绘制矢量图的能力,这意味着用户可以脱离flash和silverlight,直接在浏览器中显示图形或动画。
The ability to draw vector graphics directly onto the browser, which means that users can leave flash and silverlight and display graphics or animation directly in the browser.

 
8、支持丰富的2D图片
8. Support rich 2D pictures

 

 
HTML5内嵌了所以复杂的二维图片类型。同目前网站加载图片的方式相比,它的运行速度要快得多。
HTML5 is embedded with complex 2d image types. It works much faster than the current site loads images.

 
9、支持即时通信功能
9. Support for instant communication

 

 
在HTML5中内置了基于web sockets的即时通信功能,一旦两个用户之间启动了这个功能,就可以保存顺畅的交流。
In HTML5, instant messaging based on web sockets is built into the web, and once the function is started between two users, a smooth communication can be saved.

 
截至目前而言,主流网页浏览器Firefox 5、Chrome 12 和Safari 5都已经支持了许多的HTML5标准,而且目前最新版的IE 9也支持了许多HTML5标准。
So far, the mainstream web browsers Firefox 5, Chrome 12 and Safari 5 have supported many HTML5 standards, and the current version of Internet explorer 9 supports many HTML5 standards.

微信二维码