服務(wù)項(xiàng)目
聯(lián)系方式
保定市遨游計(jì)算機(jī)服務(wù)有限公司
咨詢熱線:13313028229
售后:0312-6791400
售后:0312-6791126
網(wǎng)址:m.0369l.com
地址:保定朝陽(yáng)大街國(guó)貿(mào)大廈8樓808室
網(wǎng)站建設(shè)中HTML5的特點(diǎn)
[來(lái)源:m.0369l.com] [作者:網(wǎng)站建設(shè)] [日期:18-01-09] [瀏覽次數(shù):]

HTML5 的發(fā)展越來(lái)越邁向成熟,很多的應(yīng)用已經(jīng)逐漸出現(xiàn)在日常生活中了。不僅在傳統(tǒng)網(wǎng)站建設(shè)上的互動(dòng)flash逐漸地被HTML5的技術(shù)取代,更重要的是,可以通過(guò)HTML5 的技術(shù)來(lái)開(kāi)發(fā)跨平臺(tái)的手機(jī)軟件,讓許多開(kāi)發(fā)者感到十分興奮。
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是一種設(shè)計(jì)來(lái)組織web內(nèi)容的語(yǔ)言,其目的是通過(guò)創(chuàng)建一種標(biāo)準(zhǔn)的和直觀的UI標(biāo)記語(yǔ)言來(lái)把web設(shè)計(jì)和開(kāi)發(fā)變得容易起來(lái)。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、取消了一下過(guò)時(shí)的HTML4標(biāo)簽
1. Cancel the outdated HTML4 tag

 

 
HTML5取消了一下純粹顯示效果的標(biāo)簽,如<font>和<center>,它們已經(jīng)被CSS取代。HTML5吸取了XHTML2一些建議,包括一些用來(lái)改善文檔結(jié)構(gòu)的功能,如新的HTML標(biāo)簽header、footer、dialog、aside、figure等的使用,將使內(nèi)容創(chuàng)作作者更加容易地創(chuàng)建文檔。
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、將內(nèi)容和展示分離
2. Separation of content and presentation

 

 
b和i標(biāo)簽依然保留,但它們的意義已經(jīng)與之前有所不同,這些標(biāo)簽的意義只是為了將一段文字標(biāo)識(shí)出來(lái),而不是為它們?cè)O(shè)置粗體或斜體樣式。U、foot、center、strike這些標(biāo)簽則被完全去掉。
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、一些全新的表單輸入對(duì)象
3. Some new form input objects

 

 
增加了包括日期、URL、E-mail地址,其他的對(duì)象則增加了對(duì)非拉丁字符的支持。HTML5還引入了微數(shù)據(jù),這一使用機(jī)器可以識(shí)別的標(biāo)簽標(biāo)注內(nèi)容的方法,使語(yǔ)義web的處理更加簡(jiǎn)單??偟膩?lái)說(shuō),這些與結(jié)構(gòu)有關(guān)的改進(jìn)使用內(nèi)容創(chuàng)建者可以創(chuàng)建更干凈、更容易管理的網(wǎng)頁(yè)。
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、全新的、更合理的標(biāo)簽
4. Brand new, more reasonable label

 

 
多媒體對(duì)不再全部綁定在object或embed標(biāo)簽中,而是視頻有視頻的標(biāo)簽,音頻有音頻的標(biāo)簽。
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

 

 
目前在播放/錄制音頻的時(shí)候可能需要用到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、本地?cái)?shù)據(jù)庫(kù)
6. Local database

 

 
這個(gè)功能將內(nèi)嵌一個(gè)本地SQL數(shù)據(jù)庫(kù),以加速交互搜索、緩存以及索引功能。同時(shí),那些離線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對(duì)象
7. Canvas object

 

 
將給瀏覽器帶來(lái)直接在上面繪制矢量圖的能力,這意味著用戶可以脫離flash和silverlight,直接在瀏覽器中顯示圖形或動(dòng)畫。
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內(nèi)嵌了所以復(fù)雜的二維圖片類型。同目前網(wǎng)站加載圖片的方式相比,它的運(yùn)行速度要快得多。
HTML5 is embedded with complex 2d image types. It works much faster than the current site loads images.

 
9、支持即時(shí)通信功能
9. Support for instant communication

 

 
在HTML5中內(nèi)置了基于web sockets的即時(shí)通信功能,一旦兩個(gè)用戶之間啟動(dòng)了這個(gè)功能,就可以保存順暢的交流。
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.

 
截至目前而言,主流網(wǎng)頁(yè)瀏覽器Firefox 5、Chrome 12 和Safari 5都已經(jīng)支持了許多的HTML5標(biāo)準(zhǔn),而且目前最新版的IE 9也支持了許多HTML5標(biāo)準(zhǔn)。
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.

微信二維碼