Basic Introduction to HTML5
What is html5?
HTML5 is the latest and most enhanced version of HTML. Technically, HTML is not a programming language, but rather a markup language.
Browser Compatibility
The latest versions of Apple Safari, Google Chrome, Mozilla Firefox, and Opera all support many HTML5 features and Internet Explorer 9.0 also have support for some HTML5 functionality. The mobile web browsers that come pre-installed on iPhones, iPads, and Android phones all have excellent support for HTML5.
The <!DOCTYPE> Declaration
HTML5 Web Design |
HTML 5 is how easy to impelement, you use the HTML 5 doctype, which is very simple and streamlined. The <!DOCTYPE> declaration helps the browser to display a web page correctly.
HTML 5 New Doctype |
What is New in HTML5?
There most interesting new elements are below :-- New semantic elements (Html5 Structure):
- <header> defines the header of a page
- <footer> defines the footer of a page
- <article> defines the article or primary content on a page
- <aside> defines extra content like a sidebar on a page
- <nav> defines the navigation on a page
- <figure> defines images that annotate an article
- <section> to define sections of pages
HTML5 Structure |
- New form Control attributes: email, tel, number, date, color, time, calendar, search, url and range
- New Graphic elements: <svg> and <canvas>.
- New Multimedia elements: <audio> and <video>.
HTML 5 Removed Elements
There are also some elements in HTML 4 that will no longer be supported by HTML 5. Most are already deprecated, and so shouldn't be surprising, but a few might be difficult: such as acronym, applet, basefont, big, center, dir, font, frame, frameset, isindex, noframes, noscript, s, strike, tt, u.
Adding New Elements to HTML
<etechpulse></etechpulse>
<script>document.createElement("etechpulse")</script>
Note: The JavaScript statement document.createElement("etechpulse") is added, only to satisfy IE.
Note: The JavaScript statement document.createElement("etechpulse") is added, only to satisfy IE.
So HTML5 adds a lot of great new features for Web pages and Web design. When building your site, make sure to implement the latest features of HTML5.
Basic Introduction to HTML5
Reviewed by Ravi Kumar
on
12:38 AM
Rating:
No comments: