WebSite X5Help Center

 
William J.
William J.
User

HTML Head and Body  en

Author: William J.
Visited 1342, Followers 1, Shared 0  

Hi I have looked at inserting HTML via the html code object and it works to a point. when I add html code to the object does it place the code into the "Body" section of the web page? if so how do I insert code into the "Head" section of the web page? Do I have to save my site to a folder then open the page with an HTML editor and add it that way or is there an easier way that I cannot see? most of the time I need to add html to both Head and Body so it would be great if this is possible.

sorry for all the questions but im new to X5 and trying to figure out how it all works together smile

Posted on the
3 ANSWERS - 1 CORRECT
John S.
John S.
User

Hello william

Normalle the code is placed in the section where you place the html-object.

If you want some code placed a specific place you can use the expert-section in 

3 -map / properties / Expert.

here you can insert some code. ( that is executed  this way )

This goes for HTML code and it could also be PHP. This is not via the HTML-object.

You can place a HTML object in the head and on/in a page. ( everywhere you can place the object ) 

In the HTML-object you can have the code and the styling separated.

Kind regards

John S.

Read more
Posted on the from John S.
William J.
William J.
User
Author

Ahh got you so just to make sure I understand you I can insert both head and body html from within the program is that correct?

cheers John

Read more
Posted on the from William J.
William J.
William J.
User
Author

Hi John, sorry got the rest of your post and it is all clear to me now,

thanks

Read more
Posted on the from William J.