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"
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">
0 comments:
Post a Comment