WebSite X5Help Center

 
William J.
William J.
User

HTML Head and Body  en

Autor: William J.
Visitado 1347, Seguidores 1, Compartilhado 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

Publicado em
3 RESPOSTAS - 1 CORRIGIR
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.

Ler mais
Publicado em de John S.
William J.
William J.
User
Autor

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

Ler mais
Publicado em de William J.
William J.
William J.
User
Autor

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

thanks

Ler mais
Publicado em de William J.