Browser support
JDS Support all HTML Tag
Markup language, standard text-encoding system consisting of a set of symbols inserted in a text document to control its structure, formatting, or the relationship between its parts.
Here are spme bast practice we are folowing.
Standard HTML structure
Useually we work on HTML5. The basic structure of an HTML5 document consists of 5 elements:
- <!DOCTYPE>
- <html>
- <head>
- <title>
- <body>
The DOCTYPE
A DOCTYPE declaration must be specified on the first line of each web document:
The DOCTYPE tells the web browser which version of HTML the page is written in. In this class, we will be using ‘XHTML Transitional’, which allows us a little flexibility.
The <html> Element
Immediately following the DOCTYPE declaration is the <html> element:
The element tells the browser that the page will be formatted in HTML and, optionally, which world language the page content is in.
The <head> and <body> Elements
Immediately following the DOCTYPE declaration is the <html> element:
The <head> element surrounds all the special “behind the scenes” elements of a web document. Most of these elements do not get displayed directly on the web page.
The <body> element surrounds all the actual content (text, images, videos, links, etc.) that will be displayed on our web page.
The <meta> Element
Immediately after the
line, we place this element:This line declares that the document is encoded in the UTF-8 (Unicode) character set.
There can be multiple lines in the same web page. The element is often used to provide additional information such as page keywords, a page description, and the author(s) of a web document.
The <title> Element
The <title> element defines what text will show in the web browser’s title bar:
This line declares that the document is encoded in the UTF-8 (Unicode) character set.
There can be multiple lines in the same web page. The element is often used to provide additional information such as page keywords, a page description, and the author(s) of a web document.