Page 1 of 1
put h1 object in <div>
Posted: Mon Jun 15, 2020 4:20 am
by wb_user
i try to put h1 object and <p> in one div (standard method for seo)
like:
<div>
<h1>example header</h1>
<p>example text</p>
</div>
--------------------------------------------------
<div>
<h2>example header</h2>
<p>example text</p>
</div>
is that possible with heading object?
normal wb codes are:
<div><h1>example header</h1></div>
<div><p>example text</p></div>
<div><h2>example header</h2></div>
<div><p>example text</p></div>
Re: put h1 object in <div>
Posted: Mon Jun 15, 2020 6:02 am
by Pablo
The heading object is a separate object. It cannot be merged with standard text.
Of course you can place both objects on a layer, then they will be part of the same div.
However, I doubt that to will have any impact on SEO.
Re: put h1 object in <div>
Posted: Mon Jun 15, 2020 8:01 am
by wb_user
Pablo wrote: Mon Jun 15, 2020 6:02 am
The heading object is a separate object. It cannot be merged with standard text.
Of course you can place both objects on a layer, then they will be part of the same div.
However, I doubt that to will have any impact on SEO.
please see codes in first post.
in method1 <div></div> are 2 for 4 object.
in this method of wb <div></div> are 4 for 4 object.
i think if you can improve this in next version of wb the page codes are Reduced too.
example:
<div>
<h1>example header</h1>
<p>example text</p>
<img>example text</img>
<p>example text</p>
</div>
instead of:
<div><h1>example header</h1></div>
<div><p>example text</p></div>
<div><img>example text</img></div>
<div><p>example text</p></div>
<div><p>example text</p></div>
Re: put h1 object in <div>
Posted: Mon Jun 15, 2020 8:46 am
by Pablo
Sorry, I have no control over the HTML output of the text object. This is standard Microsoft functionality.