- This topic has 5 replies, 2 voices, and was last updated 5 months, 2 weeks ago by David.
October 16, 2022 at 5:24 am #2375100Paul
hello how are you
pls check this screenshot link https://prnt.sc/ENiIS-snJLtV
could you explain the diffrence between them?
if you can give me a video guide , then it is better? tel me how to choose them when making the design by video guide.
thanksOctober 16, 2022 at 7:14 am #2375198DavidStaffCustomer Support
when you use the Headline block, each of the H1, H2, H3 …. P, Div will determine what HTML is output.
eg. for H1 we get:
eg. for P we get:
eg. for DIV we get:
Ptags are noted as text elements in HTML. And those come with their specific styles and their semantic meaning which affects how search engines may treat them and how your overall SEO performs.
As an example a normal page would have Headings and those headings would have a hierarchy. eg.
H1 The Main Title Paragraph of text H2 a sub heading on the page Paragraph of more text
DIVallows you to add text that does not have a specific customizer style or semantic meaning.
DIV some text before my H1 Title H1 The Main Title
In the instance i would use the DIV for
some text before my H1 Titleas this would not interfere with the heading hiearchy.
Adding CSS: http://docs.generatepress.com/article/adding-css/October 16, 2022 at 7:28 am #2375202Paul
really thanks for professional explanation. and i can almost understand that. im sorry that im not good at HTML coding.
I know that it will reflect the structure or hiearchy of the whole blog or article.
Is it more better if you can find an example of the blog article or something else. I want to get a further feel for it again from an actural example.
thanks in advance.October 16, 2022 at 7:52 am #2375354DavidStaffCustomer Support
Post Meta such as display a posts Category terms, or the author name or a date are a good example of where you can ( don’t have to ) use the DIV eg.
In that example the Terms come before the H2:
Likewise you sometimes see a page where a prefix of text comes before the main H1.
Adding CSS: http://docs.generatepress.com/article/adding-css/October 16, 2022 at 7:54 pm #2375726Paul
Thanks for allOctober 17, 2022 at 2:34 am #2375992DavidStaffCustomer Support
Adding CSS: http://docs.generatepress.com/article/adding-css/
- You must be logged in to reply to this topic.