If you want to display the content which should not take complete width then use span tag. Example given below.
Anchor tag - <a>
This is another inline element. This will be used to link the another page or url.
<html>
<head>
</head>
<body>
<a href="http://www.google.com/" style="border:1px SOLID #ddd">
Click here to open www.google.com
</a>
</body>
</html>
You will get the below result. Click on the link it will open www.google.com in the window.
It has various attributes which listed here
Attributes | Explanation |
href | Few possible values are |
target | Few possible values are _top - (link will be opened in same window) _blank - (link will be opened in new window) |