HTML5 Tutorial

HTML5 Tutorial HTML5  is a Web page (or HTML document) in a plain text file that has been encoded using Hypertext Markup Language (HTML) to appear in a Web browser. Here is a meaning of HTML word-by-word:
Hypertext: – is a text that a user will click to jump from one document to another document. This is a reference of Web pages to link to one another.

Markup: – are the tags that apply layout and formatting conventions to plain text. In a simple way, the plain text is “marked up” with the tags.

Language: – is a reference to the fact that HTML is considered as a programming language.

The < Figure > Element

The <figure> Element is used to call an image file inside the fixed container. There are some attributes of <figure> element:- Accesskey Class Contenteditable Contextmenu Dir Draggable Hidden Id Lang Spellcheck Style Tabindex title Here we will illustrate an example putting the <figure> element in the script:  Code         Output      

The < Footer > Element

The <footer> Element is used define the Footer area of the page. The <footer> element contains information about its containing element. A <footer> element contain the following information. Authorship information copyright information Contact information Sitemap back to top links Related documents A user can define several <footer> elements in one document. There are some attributes of <footer> element:- Accesskey Class Contenteditable Contextmenu Dir Draggable Hidden …

The < Footer > Element Read More »

The < Header > Element

The <header> element is used for defining the header for a particular document or section. The <header> element is a container for the introductory content or a set of navigational links. A <header> element contains: one or more heading elements (<h1> – <h6>) logo or icon authorship information A user can define several <header> elements in one document. There are some attributes of <header> element:- …

The < Header > Element Read More »

The < Keygen > Element

The <keygen> tag represents key-pair generator controls for private and public keys used for forms. When the form is submitted, the private key is stored locally, and the public key is sent to the server. There are some attributes of <keygen> element:- Autofocus Challenge Disabled Form Keytype name Here we will illustrate an example putting the <keygen> element in the script: …

The < Keygen > Element Read More »

The < Mark > Element

The <mark> Element is basically used to highlight the text with another background color, which attracts the reader and focus the particular text for the reference using. There are some attributes of <mark> element:- accesskey class contenteditable contextmenu dir draggable hidden id Lang Spellcheck Style Tabindex title Here we will illustrate an example putting the <mark> element in the script: Code …

The < Mark > Element Read More »

The  Element

The <meter> Element is basically used for scalar measurement for known range or known a fractional value. There are six attributes allowed in <meter> Element:- Value Min Max High Low Optimum Form Here we will illustrate an example putting the <meter> element in the script:  Code Output    

The < ruby > Element

The <ruby> Element is used to properly rendering the East Asian’s languages. The <ruby> Element is basically used to give a pronunciation help in a phonetic script for Chinese, Japanese and Korean languages.   There are mainly three attributes can be called with RUBY Element. rt (ruby text) rp (ruby parenthesis) and rb (ruby base).

The < Source > Element

The < Source > Element   The <source> Element is used as a child element of AUDIO and VIDEO Element. It searches the source file and call it inside the main element. The <source> Element contains mainly three attributes:- src (media file searching) type (media file format) and media

Applying Borders by Using Styles

Applying Borders by Using Styles InHTML5 You can also apply borders by using cascading style sheets (CSS), which is the most flexible and consistent method. There are certain attributes that are used <table> and <td> tags. The border-width attribute controls the thickness of the border. Specify a value in pixels. The border-color attribute controls the color of the border. Specify a color by …

Applying Borders by Using Styles Read More »

Setting Cell Padding

Setting Cell Padding To set the padding for the entire table, use the cellpadding attribute in the <table> tag. Like :- <table cellpadding=”4px”> To set the padding for an individual cell, use the padding attribute in a style. Like :- <td style=”padding: 4px”>