Your Web News in One Place

Help Webnuz

Referal links:

Sign up for GreenGeeks web hosting
May 6, 2021 07:37 am GMT

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 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.


Original Link: https://dev.to/shivabhusal/5-html5-tags-you-did-not-hear-about-k3n

Share this article:    Share on Facebook
View Full Article

Dev To

An online community for sharing and discovering great ideas, having debates, and making friends

More About this Source Visit Dev To