true

Find the best tutors and institutes for HTML

Find Best HTML Training

Please select a Category.

Please select a Locality.

No matching category found.

No matching Locality found.

Outside India?

Search for topics

What is difference between HTML elements and attributes?

Asked by Last Modified  

IT Courses/HTML

Follow 0
Answer

16 Answers

Please enter your answer

Sr. Software Engineer

An attribute defines a property for an element, consists of an attribute/value pair, and appears within the element's start tag. An element's start tag may contain any number of space separated attribute/value pairs. The most popular misuse of the term or tag is referring to alt attributes as alt tag...
Comments

Trainer

In simple Word "An attribute defines a property for an element".
Comments

Web Developer And Graphic Designer

HTML tags ----------- Tags are used to mark up the start and end of an HTML element. ex : p HTML attributes ---------------- An attribute defines a property for an element, consists of an attribute/value pair, and appears within the element's start tag.src is the attribute. ex : img src="banner.gif"... read more
HTML tags ----------- Tags are used to mark up the start and end of an HTML element. ex : p HTML attributes ---------------- An attribute defines a property for an element, consists of an attribute/value pair, and appears within the element's start tag.src is the attribute. ex : img src="banner.gif" alt="banner" read less
Comments

PHP Trainer 5 years

Attributes are property which clarifies a object like if I say source then it can be image iframe or img tag but if u specify extra attribute alt then it is alternative tag shows a text when image is not avaiable so it is clarfying that this is image tag (img).
Comments

Ruby on Rails, React & angular Trainer

An element in HTML represents some kind of structure or semantics and generally consists of a start tag, content, and an end tag. like p Lines of codes /p An attribute defines a property for an element like- img src="demo-image.png" Here is no closing tab, which is the main deference.
Comments

Digital Marketing Trainer

Hi Durgaprasad , in a simple language, take " you" as an example. 1.Durgaprasad is an ELEMENT 2.Durgaprasad's Height, Color, weight, Qualification are attributes 3.Height = 5 feets, color ="white" , weight = 60 kgs are attribute values. in HTML &lg img %gt is an HTML Element src ="Durgaprasad .jpg" vspace... read more
Hi Durgaprasad , in a simple language, take " you" as an example. 1.Durgaprasad is an ELEMENT 2.Durgaprasad's Height, Color, weight, Qualification are attributes 3.Height = 5 feets, color ="white" , weight = 60 kgs are attribute values. in HTML &lg img %gt is an HTML Element src ="Durgaprasad .jpg" vspace ="200px" (vertical space) border="10px"; align ="right"; All left side labels are attributes and right side ones are values. I hope I have given silly example hope you like it. Thanks a lot for posting. Happy learning and be a Great UI/UX Pro. All the Best. Ravindra Reddy, Sr. Trainer (digital branding and Marketing). read less
Comments

Pro: HTML5, CSS3, jQuery, AngularJs, SASS

p, div etc. are html elements but the class, id etc. are attributes.
Comments

.Net Developer

Attributes will provide additional behaviour to the HTML elements and Elements are nothing which comes with in angular brackets and we have two types of elements in HTML like stranded and void elements.
Comments

Adobe Certified Expert

HTML elements is a "DIV" and its attributes are "align , Style , etc".
Comments

Teacher

Elements are components which are core html control related objects. Where attributes are the properties for the current components.
Comments

View 14 more Answers

Related Lessons

HTMl tutorial for input type
<html> <body> <form> <input type="tel" id="phone" name="phone" pattern="{10}"required><br> <input type="submit" value="Submit"> </form> </body> </html>
T

Taru Sharma | 19 Jun

0 0
0

CSS Padding
The CSS padding properties are used to generate space around an element's content, inside of any defined borders. With CSS, you have full control over the padding. There are properties for setting the...

Gagan | 02/02/2018

0 0
0

Angular-2 Developer Training Program Syllabus
Angular2 Developer Training Program Syllabus: Introduction to Angular2. Why Angular2. Angular2 Features: Components, Services and Typescript. Angular2 Components: Templates, Modules, Services...

DeCode Classes | 11/12/2017

0 0
0

Recommended Articles

Here are the top 6 must have skills for every Web Designer : Technical Skills Web designers undoubtedly require very strong technical skills. They must have hands on using Web designing software and tools, such as Adobe Dreamweaver, Fireworks, Photoshop, Flash etc. In addition to the knowledge of design...

Read full article >

Since the world today is ruled by the Internet, everyone desires to build a website for either business or personal interests. HTML or Hyper-text Mark-up Language is a globally standardized language which used to format web pages. By using HTML, the appearance of text, links, images and almost every part of a web page could...

Read full article >

Today, no business can exist without having its own website to interact with its customer base. Having a website is no more restricted to the big MNCs. With the advancement in technology and global business, even the small enterprises are spending on having their own websites and development teams. The person works on web...

Read full article >

Applications engineering is a hot trend in the current IT market. An applications engineer is responsible for designing and application of technology products relating to various aspects of computing. To accomplish this, he/she has to work collaboratively with the company s manufacturing, marketing, sales, and customer...

Read full article >

Looking for HTML Training?

Find best HTML Training in your locality on UrbanPro.

Are you a Tutor or Training Institute?

Join UrbanPro Today to find students near you
X

Looking for HTML Classes?

Find best tutors for HTML Classes by posting a requirement.

  • Post a learning requirement
  • Get customized responses
  • Compare and select the best

Looking for HTML Classes?

Find best HTML Classes in your locality on UrbanPro

Post your learning requirement

UrbanPro.com is India's largest network of most trusted tutors and institutes. Over 25 lakh students rely on UrbanPro.com, to fulfill their learning requirements across 1,000+ categories. Using UrbanPro.com, parents, and students can compare multiple Tutors and Institutes and choose the one that best suits their requirements. More than 6.5 lakh verified Tutors and Institutes are helping millions of students every day and growing their tutoring business on UrbanPro.com. Whether you are looking for a tutor to learn mathematics, a German language trainer to brush up your German language skills or an institute to upgrade your IT skills, we have got the best selection of Tutors and Training Institutes for you. Read more