HTML attributes produce more information about HTML elements. The characteristic of Attributes is a. All HTML elements can have attributes b. Attributes provide additional information about elements c.
Attributes are always specified in the start tag d. However, Attributes usually come in name/value pairs like name=”value”. Here are discussed some Attributes.
The href Attribute
The src Attribute
The width and height Attributes
The alt Attribute
The style Attribute
style the attribute is used to add styles to an element, such as color, font, size, and more.
The lang Attribute
This assists search engines and browsers the lang attribute inside the tag
The title Attribute
title attribute refers to more extra information about an element.
Attributes list with examples
More to know about coding
The slot global attribute assigns a slot in a shadow DOM shadow tree to an element. An element with a slot attribute is the slot Whose name attribute’s value matches that slot attribute’s value. For examples, see our Using templates and slots guide.
If you wrote the pages a long while back, it would probably be in your best interest to simply rewrite them to slim them down and strip out all the unnecessary code.
However, if you haven’t been keeping up with the development of HTML 5, CSS 3, etc., and just want to keep your pages alive you might simply consider finding what the appropriate replacements are for said coding and then doing some sort of clever Find+Replace. For that, I recommend Sublime Text 2 as you can use some handy Regular Expressions to get it.