bestwebdesign

Freelancign web design and Graphics design

Thursday 9 November 2017

Attributes

How to do HTML Attributes

HTML Attributes

All HTML elements can have qualities

Qualities give additional information around a part

Qualities are continually decided in the start tag

Qualities typically come in name/value sets like: name="value" 



The href Attribute
 HTML links are defined with the <a> tag. The link address is specified in the href attribute:

<a href="https://bestdesign17.blogspot.com/">This is a link</a>

The src Attribute

HTML images are defined with the <img> tag.
The filename of the image source is specified in the src attribute:


<img src="img_girl.jpg">

The width and height Attributes

Images in HTML have a set of size attributes, which specifies the width and height of the image:


<img src="img_girl.jpg" width="500" height="600">

 

 

Share:

0 comments:

Post a Comment


Web Design Tutorial

Theme Support

Munere veritus fierent cu sed, congue altera mea te, ex clita eripuit evertitur duo. Legendos tractatos honestatis ad mel. Legendos tractatos honestatis ad mel. , click here →