Elxis CMS Forum

Support => Elxis 4.x/5.x DEV => Topic started by: Luca on February 15, 2013, 13:43:42

Title: H1 tag?
Post by: Luca on February 15, 2013, 13:43:42
Hi, about the H1 tag...

I can remember that in previous versions there was an option in articles to not show the Title. This way, we were able to fine tune the H1 tag inserting it directly in the article body.

Now, if I'm not mistaken, it seems that I cannot find that option to hide the Title, thus having Title and H1 tags identical.

I'm asking because it would be very useful to have H1 and Title different for adjusting their densities and content.

Thank you

luca
Title: Re: H1 tag?
Post by: datahell on February 15, 2013, 19:20:29
The normal content flow is:

<h1>title</h1>
<article>text</article>

If you do as you say you will display the h1 tag inside the article. So the article's text will start without a title and without a prior notification on what is this...

<article>
     text....
     <h1>title</h1>
     text continues...
</article>

Elxis doesn't give you the option to do this mistake... You can do it only by modifying component content.
Title: Re: H1 tag?
Post by: Luca on February 15, 2013, 19:29:15
Thank you @Datahell.

What you say is correct.

So, reformulating a little, what about a field to [optionally] put the H1 content?