How do we add extra information about an element in HTML?

HTMLWeb DevelopmentFront End Technology

Use the title attribute to add extra information in an HTML document.

Example

You can try to run the following code to implement title attribute −

<!DOCTYPE html>
<html>
   <head>
      <title>HTML base Tag</title>
      <base href = "https://www.qries.com" />
   </head>
   <body>
      Qries.com <img src = "https://www.qries.com/images/banner_logo.png" />
   </body>
</html>
raja
Published on 14-Mar-2018 11:20:09
Advertisements