When writing in HTML, the
Example of code
Attributes
Within an HTML tag, an attribute dictates certain aspects of an HTML element. Attributes are made up of a name and value pair. The
The
or tags should be used instead. Additionally, if text in the tag contains the characters < and &, they should be replaced with < and & respectively. For more information, see the HTML3 spec and the W3C’s HTML documentation on GitHub.
- Example of
code
- Attributes
- Compatibility
- Related information
Compatibility
Browser, Code, Compatibility, Container tag, Optimized, Web design terms
Related information
- HTML and web design help and support.