Phone

+234-70322-53598

Email

atgventuresinfo@gmail.com

Opening Hours

Mon - Sat: 7AM - 7PM

 

HTML elements can have attributes, which provide additional information about an element or specify how the element should behave. Here is a list of some common HTML attributes:

  1. id: This attribute specifies a unique identifier for an element, which can be used to identify the element and style it with CSS or manipulate it with JavaScript.
  2. class: This attribute specifies a class name for an element, which can be used to identify elements with the same class name and style them with CSS.
  3. src: This attribute specifies the source of an element, such as the URL of an image for an <img> element or the URL of a video file for a <video> element.
  4. href: This attribute specifies the destination of a link for an <a> element.
  5. title: This attribute specifies a text that will be displayed as a tooltip when the mouse hovers over an element.
  6. alt: This attribute specifies an alternative text for an element, such as an image, if the element is not displayed or is not available.
  7. style: This attribute specifies an inline style for an element, which can be used to apply styles directly to an element rather than using a separate stylesheet.
  8. type: This attribute specifies the type of an element, such as the type of input for a <input> element or the type of media for a <video> or <audio> element.
  9. value: This attribute specifies the value of an element, such as the value of a form field or the initial value of a range input.
  10. name: This attribute specifies a name for an element, which can be used to identify the element when the form is submitted or to access the element with JavaScript.

These are just a few examples of HTML attributes, but there are many more that can be used depending on the element and the context.

PATRONIZE US JOIN US ON YOUTUBE

Recommended Articles