0d: 00h: 00m: 00s

🎁 Get 2 extra months of learning — completely FREE

That's 60 extra days to master new skills, build more projects, and land your dream job.

Become a PRO
Background Image

🎁 Get 2 extra months of learning completely FREE

Become a PRO
Programiz PRO LogoProgramiz PRO Logo
Projects
  • Challenges
  • Pricing
  • Login
  • Start Free Trial

    Python Exercises

    • Python Basics
    • Python Intermediate

    C++ Exercises

    • C++ Basics
    • C++ Intermediate
    • C++ OOP
    • C++ STL

    Java Exercises

    • Java Basics
    • Java Intermediate
    • Java OOP

    C Exercises

    • C Programming

    Python

    • Python Basics
    • Python Intermediate
    • Python Numpy
    • Interview Questions
    • Recursion with Python
    • Python Certification

    HTML/CSS

    • Learn HTMLFREE
    • Learn CSS
    • HTML Certification

    JavaScript

    • JavaScript Basics
    • JS in Browser
    • JS Intermediate
    • JS Recursion
    • JavaScript Certification

    SQL

    • SQL Basics
    • Interview Questions
    • SQL Certification

    C Programming

    • Learn C Programming
    • Recursion with C
    • C Certification

    C++

    • C++ Basics
    • C++ OOP
    • C++ Intermediate
    • Recursion with C++
    • C++ STL
    • C++ Certification

    Java

    • Java Basics
    • Java OOP
    • Java Intermediate
    • Recursion with Java
    • Interview Questions
    • Java Certification

    DSA

    • DSA with Python
    • DSA with C++
    • Complexity Calculation
    • DSA Certification
    Programiz PRO LogoProgramiz PRO Logo
    Projects
    • Challenges
  • Pricing
  • Login
  • Start Free Trial

    Python Exercises

    • Python Basics
    • Python Intermediate

    C++ Exercises

    • C++ Basics
    • C++ Intermediate
    • C++ OOP
    • C++ STL

    Java Exercises

    • Java Basics
    • Java Intermediate
    • Java OOP

    C Exercises

    • C Programming

    Python

    • Python Basics
    • Python Intermediate
    • Python Numpy
    • Interview Questions
    • Recursion with Python
    • Python Certification

    HTML/CSS

    • Learn HTMLFREE
    • Learn CSS
    • HTML Certification

    JavaScript

    • JavaScript Basics
    • JS in Browser
    • JS Intermediate
    • JS Recursion
    • JavaScript Certification

    SQL

    • SQL Basics
    • Interview Questions
    • SQL Certification

    C Programming

    • Learn C Programming
    • Recursion with C
    • C Certification

    C++

    • C++ Basics
    • C++ OOP
    • C++ Intermediate
    • Recursion with C++
    • C++ STL
    • C++ Certification

    Java

    • Java Basics
    • Java OOP
    • Java Intermediate
    • Recursion with Java
    • Interview Questions
    • Java Certification

    DSA

    • DSA with Python
    • DSA with C++
    • Complexity Calculation
    • DSA Certification
    christian Flores
    last year
    Christiancountry asked

    What is an HTML attribute?

    Apekchhya Shrestha
    Expert
    last year
    Apekchhya Shrestha answered

    Good question!

    In HTML, attributes modify the behavior, appearance, or function of HTML elements. You’ll see them in various tags like , ,

    , and many others.

    For example, in the code , src is an attribute of the tag. It tells the browser where to find the image file named tiger.png.

    As you move forward, our lessons will cover these in more detail. Click the 'Next' button to continue.

    Hope this helps! Feel free to ask if you have more questions.

    HTML
    This question was asked as part of the Learn HTML course.

    Our Experts

    • Sudip Bhandari's profile
      Sudip Bhandari
      Head of Growth/Marketing
    • Apekchhya Shrestha's profile
      Apekchhya Shrestha
      Senior Product Manager
    • Kelish Rai's profile
      Kelish Rai
      Technical Content Writer
    • Abhilekh Gautam's profile
      Abhilekh Gautam
      System Engineer
    • Palistha Singh's profile
      Palistha Singh
      Technical Content Writer
    • Sarthak Baral's profile
      Sarthak Baral
      Senior Content Editor
    • Saujanya Poudel's profile
      Saujanya Poudel
    • Abhay Jajodia's profile
      Abhay Jajodia
    • Nisha Sharma's profile
      Nisha Sharma
      Technical Content Writer
    • Udayan Shakya's profile
      Udayan Shakya
      Technical Content Writer
    • Courses

      • Python
      • SQL
      • HTML/CSS
      • JavaScript
      • C Programming
      • C++
      • Java
      • ProjectsNEW
      • Course Catalog
    • Challenges

      • Python Challenges
      • C Challenges
      • C++ Challenges
      • Java Challenges
      • JavaScript Challenges
      • SQL Challenges
    • Resources

      • Pricing
      • Blog
      • Testimonials
      • Newsroom
      • Discuss
      • For Educators
    • Company

      • About Us
      • Contact Us
      • FAQs
      • Security
      •  Help Center
    • Programiz PRO Logo
      • Privacy Policy
      • Terms of Service
    © 2026 Parewa Labs Pvt. Ltd. All rights reserved.