Edit in JSFiddle

<body>
     <fieldset>
     <legend>Employee Information</legend>
     EmpId:<input type="text"><br/>
     Name :<input type="text">
     </fieldset>
     </body>
legend
{
background-color:lightblue;
color:blue;
font-size:30px;
font-family:comic sans ms;
border:2px dotted black;
}