HTML Attributes

By | April 4th 2018 01:38:49 PM | viewed 256 times
Attribute Name Code
The href Attribute <a href="url"> link text </a>
The src Attribute <img src="pulpitrock.jpg">
The alt Attribute <img src="pulpitrock.jpg" alt="Girl with a jacket">
The lang Attribute <html lang="en-US"> </html>
The title Attribute <p title="I'm a tooltip"> Paragraph </p>
The value Attribute <input type="text" name="first_name" value="" disabled >
The disabled Attribute <input type="text" name="first_name" value="" disabled >
The readonly Attribute <input type="text" name="first_name" value="" readonly >
The id Attribute <input type="text" id="uniqueId" name="first_name" value="" >
The size Attribute <input type="text" name="first_name" value="" size="40" >
The maxlength Attribute <input type="text" name="first_name" value="" maxlength="10" >
bONEandALL