title ... ⁄title, occurrences on page
Only 1 title element is allowed per HTML5 document.
1 2 3 4 5 6 7 8 9 | <!doctype html> <> <> <>...<⁄> <⁄> <> <⁄> <⁄> |
1 2 3 4 5 6 7 8 9 10 | <!doctype html> <> <> <>...<⁄> <>...<⁄> <⁄> <> <⁄> <⁄> |
Video demonstration title: occurrences on page
HTML5 title occurrences, Tutorial
min | video details |
---|---|
00:03 | open html demo file in Notepad++ |
00:06 | the html page syntax is not valid warning: 3 title elements are present in page: 2 inside head section and 1 inside body section Note 1: only 1 title element is allowed per HTML page and goes inside head section Note 2: title element is not allowed inside body section |
00:17 | removing the title tag from body section and 1 title tag from head → the html page syntax is now valid |