The HTML 5 language has a “custom” HTML syntax that is compatible with HTML 4 and XHTML1 documents published on the Web, but is not compatible with the more esoteric SGML features of HTML 4. HTML 5 does not have the same syntax rules as XHTML where we needed lower … Read more
DOCTYPE in HTML5
DOCTYPEs in older versions of HTML were longer because the HTML language was SGML based and therefore required a reference to a DTD. HTML 5 authors would use simple syntax to specify DOCTYPE as follows:
All the above syntax is case-insensitive… Read more
Character Encoding in HTML5
HTML 5 authors can use simple syntax to specify Character Encoding as follows:
All the above syntax is case-insensitive.… Read more
Script tag in HTML5
It’s common practice to add a type attribute with a value of “text/javascript” to script elements as follows:
Link tag in HTML5
So far we are writing as follows:
HTML5 basic elements
HTML5 elements are marked up using start tags and end tags. HTML5 Tags are delimited using angle brackets with the tag name in between.
The difference between start tags and end tags is that the latter includes a slash before the tag name.
Following is the example of an HTML5 … Read more
HTML5 Document
The following tags have been introduced in HTML5 for better structure:
section:
This tag represents a generic document or application section. It can be used together with h1-h6 to indicate the document structure.
article:
This tag represents an independent piece of content of a document, such as a blog entry … Read more
HTML5 Attributes
HTML5 Elements may contain attributes that are used to set various properties of an element.Some attributes are defined globally and can be used on any element, while others are defined for specific elements only. All attributes have a name and a value and look like as shown below in the … Read more
What is AngularJS ?
AngularJS is commonly referred to as “Angular” and it is an open-source web application framework maintained by Google and by a community of individual developers and corporations to address many of the challenges encountered in developing single-page applications. AngularJS helps to simplify both the development and the testing of … Read more
What are the basic features of AngularJS ?
AngularJS is a powerful JavaScript based development framework to create RICH Internet Application(RIA).
It provides developers options to write client side application (using JavaScript) in a clean MVC(Model View Controller) way.
AngularJS is cross-browser compliant. AngularJS automatically handles JavaScript code suitable for each browser.
AngularJS is an open source, completely … Read more