put h1 object in <div>

All WYSIWYG Web Builder support issues that are not covered in the forums below.
Forum rules
IMPORTANT NOTE!!

DO YOU HAVE A QUESTION OR PROBLEM AND WANT QUICK HELP?
THEN PLEASE SHARE A "DEMO" PROJECT.



PLEASE READ THE FORUM RULES BEFORE YOU POST:
http://www.wysiwygwebbuilder.com/forum/viewtopic.php?f=12&t=1901

MUST READ:
http://www.wysiwygwebbuilder.com/getting_started.html
WYSIWYG Web Builder FAQ
Post Reply
wb_user
 
 
Posts: 1062
Joined: Sun Jul 05, 2015 7:03 am

put h1 object in <div>

Post 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>
User avatar
Pablo
 
Posts: 23450
Joined: Sun Mar 28, 2004 12:00 pm
Location: Europe
Contact:

Re: put h1 object in <div>

Post 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.
wb_user
 
 
Posts: 1062
Joined: Sun Jul 05, 2015 7:03 am

Re: put h1 object in <div>

Post 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>
User avatar
Pablo
 
Posts: 23450
Joined: Sun Mar 28, 2004 12:00 pm
Location: Europe
Contact:

Re: put h1 object in <div>

Post by Pablo »

Sorry, I have no control over the HTML output of the text object. This is standard Microsoft functionality.
Post Reply