Pak Jiddat - Innovative Software Services

Read: In the name of thy Lord Who createth, Createth man from a clot. Read: And thy Lord is the Most Bounteous, Who teacheth by the pen, Teacheth man that which he knew not. Nay, but verily man is rebellious That he thinketh himself independent!. Lo! unto thy Lord is the return. (Sura Alalaq 96:8)

Advantages of HTML5 validation

Created On: 11 Apr, 2017: 12:29:08 - Tags : website testing

Introduction

Recently I had the opportunity of constructing a web site for a company based on simple HTML5. The company insisted on using standards compliant HTML. In this blog post I will discuss briefly the importance of HTML5 and how to create standards compliant HTML code.

Unified Programming language

HTML5 is the latest version of HTML that is currently supported on all major web browsers. It is widely used in the development of not only web sites but also mobile applications and even desktop applications. For example Windows 10 has built in apps that can be created using simple HTML and JavaScript. HTML5 can provide a unified programming language that can be used to create applications that can run on a wide range of devices.

Built in support for audio and video

HTML5 provides built in support for many of the features that previously required third party libraries. For example video and audio are natively supported by HTML5. We no longer need to learn third party libraries in order to embed video and audio. Needless to say writing correct HTML5 is an important skill.

W3C HTML5 Standard

W3C is an international organization whose main job is to create Web Standards such as HTML5. The W3C HTML5 specification describes the correct syntax of HTML5. Code that is written according to these specifications is considered to be correct and well written.

W3C has a web based tool on http://validator.w3.org/. It allows us to see if our code conforms to W3C standards. HTML5 code that conforms to standards will be supported by more devices and its performance is easier to predict. It will also be easier to process by automated tools such as search engines.

Conclusion

One of the main differences between HTML5 and previous version of HTML is that HTML5 disallows the use of tag attributes related to styling. e.g table width. These attributes need to be expressed using CSS. With a little practise it should be easy to write standards compliant HTML5 code. Want to learn HTML5?. Check out this great website from W3C: http://www.w3schools.com/html/default.asp.


Related Articles

  1. Installing W3C Markup Validator and Validator Nu on Debian Jessie
  2. How to test Pak Php applications
  3. Validate your WordPress blog using WordPress XML-RPC API, Php Tidy and Nu HTML Checker
  4. Load testing websites using Apache Bench, Apache JMeter and Loader.io
  5. Tuning WordPress performance using Varnish
  6. Improving WordPress Performance