Recents in Beach

HORIZONTAL TAG IN HTML WITH ATTRIBUTES

HORIZONTAL TAG IN HTML WITH ATTRIBUTES

<HR> tag : <Hr> tag is used to display horizontal ruled line. It is a singular(empty) tag means we don’t have to close hr tag. The attributes with <hr> tag are as follows: 

color : Sets color for the horizontal ruled line.

width : It specifies the length of the ruled line in % or pixels.

size : It sets thickness of a ruled line.

Example:

<html>

<head>

<title>web page</title>

</head>

<body>

<h1>Image tag in html</h1>

<img src="launchpad.png" height="90%" sizes="20%" alt="image">

</html>


Output:

horizontal hr Tag In Html

Horizontal Tag Explained in Detailed :


     

Image Tag In Html Please Visit This Link :


Break Br Tag In Html Please Visit This link:


Post a Comment

0 Comments