✨10 Html Tags to make Life Easier
Tags: html, tutorial, webdev, codequality
Published: 2022-08-06 16:08:20

Meter Tag <meter>
The Meter tag in HTML allows us to represent the data in a graphical format without doing much of coding. The meter tag is used to measure data within a given range. It defines a scalar measurement with range. It is also known as a gauge. It can be used to display metrics info such as quantity of something or showing ratings or marks etc.

Below is an example of Meter Tag <meter>
```
<h2>Stacksjar.com</h2>
<hr>

<br>
<label for="disk_c">Best Web Development Articles</label>
<meter id="disk_c" value="8" min="0" max="10">8 out of 10</meter><br>
<br>
<label for="disk_c">Web Development Memes</label>
<meter id="disk_c" value="6" min="0" max="10">6 out of 10</meter><br>
<br>
<label for="disk_c">Quotes for Web Development Articles</label>
<meter id="disk_c" value="4" min="0" max="10">4 out of 10</meter><br>
```
Below is the Output for Meter Tag

![Stacksjar.com](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/sfvtya0fu78ka0gkq3f7.jpg)

Wordbreaker Tag <wbr>
The wordbreaker tag in HTML is used to break a sentence within a paragraph at a particular instance or after a particular work as per our requirements. This tag will come in effect for responsive purposes when we resize the window we will see that the text inside the <wbr> tag will begin in new line apart from being randomly broken from anywhere between sentence.

Below is an example of Wordbreaker tag <wbr>
```
<p>This is a veryveryveryveryveryveryveryveryveryveryveryveryveryveryveryveryveryvery<wbr>longwordthatwillbreakatspecific<wbr>placeswhenthebrowserwindowisresized.
</p>
```

Below is the Output of Wordbreaker tag

![Stacksjar.com](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/s8bc9ch83gkcyc7adm9t.jpg)

Link Tag that Dials Numbers 
If we include "tel" keyword in value of "href" attribute of link tag followed by the number, it will allow the device to initiate a call. The device will call the number when user clicks on the Link. This functionality works on mobile devices, tablets uses software's like skype, face time or devices which supports cellular calling.

Below is the Output of Link Tag that dials numbers.


```<a href="tel:1234567890">Call Us</a>```


Fieldset Tag and Legend Tag 

The fieldset tag in HTML is used to specify a group of form elements. And the Legend Tag is used to define the title for the child contents. The legend elements are the parent element. This tag is used to define the caption for the fieldset element.

Below is an example of Fieldset tag and Legend Tag 

```
<legend>
<form>
  <fieldset>
    <legend style="float:right">Sign Up:</legend>
    <label for="fname">First name:</label>
    <input type="text" id="fname" name="fname"><br><br>
    <label for="lname">Last name:</label>
    <input type="text" id="lname" name="lname"><br><br>
    <label for="email">Email:</label>
    <input type="email" id="email" name="email"><br><br>
    <label for="password">password:</label>
    <input type="password" id="password" name="password"><br><br>
    <input type="submit" value="Submit">
  </fieldset>
</form> 
```

Below is the Output of Fieldset tag and Legend Tag  

![stacksjar.com](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/lma2unxx3zsjvddz0a2f.jpg)

Open Link in New Tab 

The "target" attribute of link tag allows us to decide whether the link should be opened in new tab or the same tab the user is in. If we pass in the value "_blank" to the target attribute it will open the link in new tab when user clicks on the particular link

```<a href="https://stacksjar.com/memes" target="_blank">Web Development Memes</a>```

Code Tag 
The code tag in html allows to define a fragment of code in the html. Which will be displayed in a code editor view/format in the browser.

Below is the example of Code tag 


<code>
function print() {

 console.log("High Quality Practical Resources to skill up your Web Development Career and Boost your           Productivity");

}
</code>

Below is the Output of Code tag 

![Stacksjar.com](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/4l8ochvrp8wz9p04wmc7.jpg)

Keyboard Tag 
The kbd tag is also know as keyboard tag. HTML keyboard tag represents the part of inline text which indicates the user keyboard input, voice input, or any other text entry device input. The keyboard text renders on the browser in default monospace font. This tag is used when a document needs to display the text which user should enter exactly from his keyboard.

Below is the example of keyboard tag 

```<p>Save this File by Pressing <kbd>Ctrl + S</kbd></p>```

Below is the Output of keyboard tag 
![Stacksjar.com](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/ajc7i46cpiuf90oa2xe0.jpg)




Read Complete Article here:- [10 Html Tags to make Life Easier](https://stacksjar.com/post/10-html-tags-to-make-life-easier)