Horizontal Line is used as a divider between paragraphs within an HTML document. The syntax is as follows:
<hr [properti]>
Align = Horizontal Line location. left, right, center, justify
Size = The size of the Horizontal Line
Width = Ajust the width. Pixcel or precent
Color = to dye Horizontal Line
NoShade = to eliminate the shadow effect,
See in the browser :
click image to zoom
<hr [properti]>
Align = Horizontal Line location. left, right, center, justify
Size = The size of the Horizontal Line
Width = Ajust the width. Pixcel or precent
Color = to dye Horizontal Line
NoShade = to eliminate the shadow effect,
<html>
<head>
<title> practice heading </title>
</head>
<body>
<h1 align="center"> Belajar Tag Properti </h1>
<p align "justify">HTML, which stands for HyperText Markup Language, is the predominant markup language for web pages. HTML is the basic building-blocks of webpages.
</p>
<hr Color="green" width="90%">
<p align="left">HTML is written in the form of HTML elements consisting of tags, enclosed in angle brackets (like <html>), within the web page content. HTML tags normally come in pairs like and. The first tag in a pair is the start tag, the second tag is the end tag (they are also called opening tags and closing tags). In between these tags web designers can add text, tables, images, etc.
The purpose of a web browser is to read HTML documents and compose them into visual or audible web pages. The browser does not display the HTML tags, but uses the tags to interpret the content of the page.
</p>
<hr Color="Red">
<p align="center">HTML is written in the form of HTML elements consisting of tags, enclosed in angle brackets (like <html>), within the web page content. HTML tags normally come in pairs like and. The first tag in a pair is the start tag, the second tag is the end tag (they are also called opening tags and closing tags). In between these tags web designers can add text, tables, images, etc.
The purpose of a web browser is to read HTML documents and compose them into visual or audible web pages. The browser does not display the HTML tags, but uses the tags to interpret the content of the page.
</p>
</body>
</html>
See in the browser :
click image to zoom
View Full →