Home / Education / How to Use Attributes in HTML Lecture 4
How to use attributes in HTML
How to use attributes in HTML

How to Use Attributes in HTML Lecture 4

Dear Students Asslam O Alaikum

In our previous session we discussed about saving of html file, Now In our today’s session we will learn about how to use Attributes in HTML

What are attributes in HTML

HTML Attributes are the properties of tags /Elements which modifies the default functionality of an html element/tags

How to Use HTML Attributes

HTML Attributes are used inside of the HTML Tags/Elements

In the start tag of HTML just after the tag/element name

HTML attributes generally appear as name-value pairs, separated by =, and are written within the start tag of an element, after the element’s name.

<tag attribute=“value”>content to be modified by the tag</tag>

where tag is the name of HTML Element/tag and attribute is the name of

attribute set to the provided value And the value may be enclosed in single quote or double quotes

Watch the complete video about “How to use attributes in HTML”


 You May Also Read: http://seikho.com/how-to-save-html-file-lecture-3/

About admin

Check Also

Punjab Announces Summer Vacations Starting From May 17—Education Minister

Punjab Announces Summer Vacations Starting From May 17—Education Minister

All the private and Public/government schools in Punjab will appreciate summer vacations beginning from May …

Leave a Reply

Your email address will not be published. Required fields are marked *