HTML5 Tutorial#27 for Beginners - TITLE & ALT attributes
  • 6 years ago
HTML5 Tutorial#27 for Beginners - TITLE & ALT attributes

In this Tutorial we are going to discuss about TITLE ans ALT attribute


in HTML 4.01 we only can use the title in the header section but in HTML5 you can use TITLE attribute any where with any tag
for example you want to use TITLE with P tag or H1 tag you can

ALT ,Also you can use ALT attribute any where with any element in HTML document.

We use ALT to get the Alternate text or any other object which you want in case if that specific image or text is not available you you want to insert or add.