咨詢熱線:13313028229
售后:0312-6791400
售后:0312-6791126
網址:m.huatongstone.com
地址:保定朝陽大街國貿大廈8樓808室
HTML5 的發(fā)展越來越邁向成熟,很多的應用已經逐漸出現在日常生活中了。不僅在傳統(tǒng)網站建設上的互動flash逐漸地被HTML5的技術取代,更重要的是,可以通過HTML5 的技術來開發(fā)跨平臺的手機軟件,讓許多開發(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是一種設計來組織web內容的語言,其目的是通過創(chuàng)建一種標準的和直觀的UI標記語言來把web設計和開發(fā)變得容易起來。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等的使用,將使內容創(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、將內容和展示分離
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的處理更加簡單??偟膩碚f,這些與結構有關的改進使用內容創(chuàng)建者可以創(chuàng)建更干凈、更容易管理的網頁。
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.