Tags in HTML5-part3
HTML5 we continue where we left off.
<strong> tag
It is one kind of text formatter used to bold the text.
1 | This is <strong>important</strong>. |
<style> tag
The HTML <style>
tag is used for declaring style sheets within your HTML document.
1 2 3 4 | <style type="text/css"> h1 {color:red} p {color:blue} </style> |
<sub> tag
The HTML sub tag is used for subscript text
1 | <p>The HTML sub tag is used for <sub>subscript text</sub></p>. |
<summary> tag
The HTML <summary> tag indicates a rundown/subtitle that can be utilized related to the HTML5 <details> tag. This synopsis/inscription can be tapped on to summary/caption the points of interest as required.
1 2 3 4 | <details> <summary>company</summary> <p>QualityPoint Technologies</p> </details> |
<table> tag
The HTML <table> tag is utilized for characterizing a table. The <table> tag contains different labels that characterize the structure of the table.
<td> tag :
Table Definition –used to define table header.
<tr> tag
Table row –Used to specify the start and end of each row in a table.
1 2 3 4 5 6 | <table border = "1"> <tr> <td>Name </td> <td>Roll</td> </tr> </table> |
<textarea> tag
The HTML textarea component enables the client to enter in excess of one line in the textbox. The inputbox ought to be fittingly coded with the stature and width of the textbox.
1 | <textarea rows="5" cols="25">Enter your view s here.</textarea> |
<tfoot> tag
<tfoot> tag is used to group the footer content in the HTML table.They should be used along with the <thead> and < tbody> .
<thead> tag
<thead> tag is used to group the header elements in the HTML table.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 | <table> <thead> <tr> <th>Name</th> <th>Roll Nimber</th> </tr> </thead> <tfoot> <tr> <td>Sam</td> <td15</td> </tr> </tfoot> <tbody> <tr> <td>Anderson</td> <td>48</td> </tr> </tbody> </table> |
<time> tag
The HTML <time>
tag is used for declaring the date and/or time within an HTML document.
1 | <p>On Saturdays, we open at <time>09:00</time>.</p> |
<title> tag
The HTML <title>
tag is used for declaring the title, or name, of the HTML document.This would normally appear at the browsers title bar.
1 2 3 4 | <html> <head> <title>Learn HTML5</title> </head> |
<video> tag
The HTML5 <video>
tag is used to specify video on an HTML document. For example, you could embed a music video on your web page for your visitors to listen to and watch.
1 | <video src=" video source " width="300" height="150" controls> |