What’s New In HTML5?
There are many changes to HTML5 that make it much easier to work with. The semantics and structure are clearer and more straight forward than previous versions of HTML. New Elements have been added and redundant Tags have been removed. The insertion of media has been streamlined and it has been updated to work across a multitude of platforms, i.e. home computers, tablets and mobile phones. We will cover the new additions in the relevant Chapters that follow in this course.
Most importantly, if you are familiar with HTML4 and new to HTML5, it’s important to note that the following are Tags that are no longer supported in HTML5. This means that most browsers will give you errors or your webpage will not look as you had intended. We recommend reviewing any previous code on your webpage and removing or replacing these tags.
- <acronym>
- <applet>
- <basefont>
- <big>
- <center>
- <dir>
- <font>
- <frame>
- <frameset>
- <noframes>
- <strike>
- <tt>
Also, the <!DOCTYPE> tag is not actually a “Tag” in HTML5. It is a declaration to let the browser you are using know what version of HTML you have written your code in. This MUST be the first thing on any page you are creating before the <html> tag. <!DOCTYPE> is not case sensitive and it does not have an end tag. The beginning of the pages you create should look this way:
<!DOCTYPE html>
followed by your code.
Want to learn more? Click here to view the complete tutorial!