Function of the SUMMARY attribute.

Q16. What is the function of the SUMMARY attribute?

Ans. The SUMMARY attribute of the <TABLE> tag is used to provide information about a table. It enables you to know the type of information a table contains. For example, you can create a student table in HTML and write “Information about students” inside the SUMMARY attribute.

In this way, you can easily know that the information contained in the table is about students. More importantly, the SUMMARY attribute is used to provide access to non-visual browsers (such as BrailleSurf), which are used by users with visual impairment.

Leave a Reply

Your email address will not be published. Required fields are marked *

%d bloggers like this: