0

What is the code for heading

27th Mar 2018, 3:12 PM
Ayoola Olamide
Ayoola Olamide - avatar
4 ответов
+ 2
h1 to h6
27th Mar 2018, 3:23 PM
jesse young
jesse young - avatar
+ 1
<h1> the biggest headertext </h1> <h6> the smallest headertext </h6>
27th Mar 2018, 3:33 PM
***
*** - avatar
+ 1
There are two kind of "heading" in html: non-visual "heading" <head> tag, intented to give meta-information of the source code (must be direct child of <html> root tag), and visual "heading", intended to define header in the displayed content of the document (must be child of the main visual document content <body>, wich must itself be direct child of <html> root tag). Among visual "heading", there are <h1> to <h6> tags, with predefined styles used to defined hierarchychal titles (from biggest to smallest), and the (new in html5) <header>, without predefined style related to "heading", but intended to semantically define "heading" sub-parts of the visual content...
27th Mar 2018, 3:49 PM
visph
visph - avatar
- 2
From h1 to h2 in dependence of the text size
27th Mar 2018, 4:28 PM
Andrew Puzhaev
Andrew Puzhaev - avatar