Float property: Float sets where an image or a text will appear in another element.
<html>
<head>
<style >
.imgleft
{
float:left;
padding:6px;
}
</style>
</head>
<body>
<img class="imgleft" src="rose2.jpg" width="95" height="84" >
<p>
External Style Sheet: Reusability in Global. The <link> tag defines the relationship between a document and an external resource. The <link> tag is used to link to style sheets. The rel attribute specifies the relationship between the current page and the linked web resource.
</p>
</body>
</html>
<html>
<head>
<style >
.imgleft
{
float:left;
padding:6px;
}
</style>
</head>
<body>
<img class="imgleft" src="rose2.jpg" width="95" height="84" >
<p>
External Style Sheet: Reusability in Global. The <link> tag defines the relationship between a document and an external resource. The <link> tag is used to link to style sheets. The rel attribute specifies the relationship between the current page and the linked web resource.
</p>
</body>
</html>
No comments:
Post a Comment