5 HTML5 tags you did not hear about

Generally, programmers and Front End Engineers consider HTML a relatively easier language to learn. Yes, it is easier because you don’t have to memorize thousands of language constructs and syntax. However, there are a few tags that are used very rarel…


This content originally appeared on DEV Community and was authored by Shiva Bhusal

Generally, programmers and Front End Engineers consider HTML a relatively easier language to learn. Yes, it is easier because you don't have to memorize thousands of language constructs and syntax. However, there are a few tags that are used very rarely which I am going to uncover today.

1. <base>

Specifies the base URL and/or target for the relative URLs on the page.

<head>
  <base href="https://ohmycheatsheet.com/images/" target="_blank">
</head>
<p>
    <img src="demo2x2.jpg" width="100" height="104" alt="puzzle cube"><br />
    <a href="/html/">HTML Code</a>
</p>

2. <ins>

Text that has been inserted.

<p>The Rubik's Cube World Record is 
<del>4.90</del> <ins>4.73</ins> seconds.</p>

3. <param>

Parameter for an object element.

<object data="sound.mp3">
    <param name="autoplay" value="true">
</object>

4. <kbd>

Keyboard input.


<p>Normal text and <kbd>Keyboard input</kbd></p>

5. <keygen>

A Keypair generator field for forms. Not recommended to use because it's not supported in IE/Edge.


<form action="/action.php" method="post">
    Name: <input type="text" name="name">
    Encryption: <keygen name="encript">
    <input type="submit">
</form>

See https://ohmycheatsheet.com/html-cheat-sheet/ for more.


This content originally appeared on DEV Community and was authored by Shiva Bhusal


Print Share Comment Cite Upload Translate Updates
APA

Shiva Bhusal | Sciencx (2021-05-06T07:37:51+00:00) 5 HTML5 tags you did not hear about. Retrieved from https://www.scien.cx/2021/05/06/5-html5-tags-you-did-not-hear-about/

MLA
" » 5 HTML5 tags you did not hear about." Shiva Bhusal | Sciencx - Thursday May 6, 2021, https://www.scien.cx/2021/05/06/5-html5-tags-you-did-not-hear-about/
HARVARD
Shiva Bhusal | Sciencx Thursday May 6, 2021 » 5 HTML5 tags you did not hear about., viewed ,<https://www.scien.cx/2021/05/06/5-html5-tags-you-did-not-hear-about/>
VANCOUVER
Shiva Bhusal | Sciencx - » 5 HTML5 tags you did not hear about. [Internet]. [Accessed ]. Available from: https://www.scien.cx/2021/05/06/5-html5-tags-you-did-not-hear-about/
CHICAGO
" » 5 HTML5 tags you did not hear about." Shiva Bhusal | Sciencx - Accessed . https://www.scien.cx/2021/05/06/5-html5-tags-you-did-not-hear-about/
IEEE
" » 5 HTML5 tags you did not hear about." Shiva Bhusal | Sciencx [Online]. Available: https://www.scien.cx/2021/05/06/5-html5-tags-you-did-not-hear-about/. [Accessed: ]
rf:citation
» 5 HTML5 tags you did not hear about | Shiva Bhusal | Sciencx | https://www.scien.cx/2021/05/06/5-html5-tags-you-did-not-hear-about/ |

Please log in to upload a file.




There are no updates yet.
Click the Upload button above to add an update.

You must be logged in to translate posts. Please log in or register.