2nd, Plot No 25B, Institutional Area, Sector 32, Gurugram, Haryana 122001
info@amjamsolutions.com
+91 8053871473
2nd, Plot No 25B, Institutional Area, Sector 32, Gurugram, Haryana 122001
info@amjamsolutions.com
+91 8053871473

HTML Attributes

HTML Attributes

June 27, 2023

● HTML Elements can have attributes.
● Attributes provide additional information about an element.
● Attributes are written inside the start tag.

<a href=”https://janityadav.com/asoldweb>This is a link</a> has an attribute and the
attribute value:
attribute: – href and the
attribute value: “https://janityadav.com/asoldweb”

HTML Elements can have multiple attributes:
<img src=”https://janityadav.com/asoldweb” alt=”https://janityadav.com/asoldweb” width=”100″ height=”102″>
The above HTML element has four attributes:
src, alt, width, and height

HTML5 introduced a few new attributes, such as:
placeholder, autofocus, and required.
The global attributes are attributes that can be used on any HTML element.
The event attributes are attributes that can be used to define JavaScript events.

Searching for Digital Marketing Services
Looking for online courses

Check out our Digital Marketing course – Explore Now!
Check out our other courses – Get Started!
See what services we offer – Explore Now!
Looking for a job? Apply Here!

Leave A Comment

Cart (0 items)

Ready to Get Started

Location

Would you like to join our growing team?

Phone No

We’re interested in working together