w3-video.com logo

HTML5 Tutorial

Home HTML5 XAMPP .htaccess Firefox Notepad++

Share it



hr syntax

Syntax hr

Example hr syntax: void element

Valid Syntax
1
2
3
4
5
6
7
8
9
10
11
<!doctype html>
<html>
<head>
<title>...</title>
</head>
<body>

<hr>

</body>
</html>

Video demonstration hr element, syntax

HTML5 hr element, syntax Tutorial

min video details
00:05 video tutorial: hr element, syntax
00:10 adding hr element in page
00:11 hr element has:

- only the start tag: <hr>
- has no end tag, it's a void (empty) element
hr intro hr browser display hr parents