Legend in Bootstrap 4

While designing any form we will get requirement of legend tag for good look and feel. We can design the form using bootstrap 4 and legend like this

<fieldset class="border p-2">
    <legend class="w-auto">
        Fleet Search


Some hidden concepts in HTML


There are so many concepts available in HTML, which one we donot know. But if you are going to give some interview as web developer then they can ask this type of simple question

1. What is the Attribute in HTML ?

>> Attribute provide the additional information about element in HTML. It will be available in start tag


<a href="https://chandradev819.wordpress.com">This is my blog</a> 

Note: Here href is the attribute

Some other example of attribute in HTML are
a. Class
b. Id
c. Style
d. Title

2. What is the HTML Meta element ?
>> Meta data is the information about data.

The tag provides metadata about the HTML document. Metadata will not be displayed on the page, but will be machine parsable.

The metadata can be used by browsers (how to display content or reload page), search engines (keywords), or other web services

One very good example of meta data to refresh page on every 2 second

We can use like this

<html xmlns="http://www.w3.org/1999/xhtml">
    <meta http-equiv="refresh" content="2">
<a href="https://chandradev819.wordpress.com">This is my blog</a>