848 Wisdom Women Books Photos - Free & Royalty-Free Stock Photos ...


HTML Attributes



Attributes provide additional information about an element or a tag, while also modifying them. Most attributes have a value; the value modifies the attribute.
CODE:-
<p align="center"> 
This text is aligned to center
</p>


The <img> Tag



The <img> tag is used to insert an image. It contains only attributes, and does not have a closing tag.
The image's URL (address) can be defined using the src attribute.
The HTML image syntax looks like this:
CODE:-
<img src="image.jpg"/>

Image Resizing


To define the image size, use the width and height attributes.
The value can be specified in pixels or as a percentage:
CODE:-
<html>
<head>
<title>first page</title>
</head>
<body> 
<img src="tree.jpg" height="150px" width="150px" alt="" />
<!-- or -->
<img src="tree.jpg" height="50%" width="50%" alt="" />
</body>
</html>

Link:-

The <a> Tag



Links are also an integral part of every web page. You can add links to text or images that will enable the user to click on them in order to be directed to another file or webpage.
In HTML, links are defined using the <a> tag.

Use the href attribute to define the link's destination address
CODE:-
<a href=""></a>

Creating Your First Link
<a href="http://www.abc.com"> Learn Playing</a>