Properly Removing Attributes

Often elements will have attributes, which are extra bits of information. Attributes appear inside the opening tag and their value is always inside quotation marks. They look something like this: <tagname attribute="value">content</tagname> Often, writers will remove the value, but not the attribute. The proper way is to delete the unnecessary attribute. Improper Method of Deleting [...]