Is it possible to edit HTML code in the <head> of a web page in p.

T

Tzakuk

Alot of JAVA scripts require you to edit the <HEAD> to run them on your page.
Can this be done so that i can continue to edit my pages in publsher ?
 
D

David Bartosik [MSFT MVP]

There is no access to the head section.
However, in my testing of numerous scripts they function just fine when
pasted to the body section.
In other words just paste the script into the html code fragment as one
entity.

David Bartosik - [MSFT MVP]
www.publishermvps.com
www.davidbartosik.com
 
T

Tzakuk

Thank you for your response David. I have a couple of questions about your
solution. First, do I need to include the HEAD tag if i am pasting the code
into the BODY of the page, and second, will this work with netscape, mozilla
and opera browsers?

David Bartosik said:
There is no access to the head section.
However, in my testing of numerous scripts they function just fine when
pasted to the body section.
In other words just paste the script into the html code fragment as one
entity.

David Bartosik - [MSFT MVP]
www.publishermvps.com
www.davidbartosik.com

Tzakuk said:
Alot of JAVA scripts require you to edit the <HEAD> to run them on your
page.
Can this be done so that i can continue to edit my pages in publsher ?
 
D

David Bartosik [MSFT MVP]

Never put a head tag or body tag in the code fragment, Publisher already
writes those. Each of those only come once in an html file.

Just paste everything between the script open and script close tags.

When it comes to browser compatibility between script code and also html
code you can write a book on the topic. In fact they have. No guarantees in
web design. Do it and then test it, and if your heart desires get a few
books and study the topic.

David Bartosik - [MSFT MVP]
http://www.publishermvps.com
http://www.davidbartosik.com

Tzakuk said:
Thank you for your response David. I have a couple of questions about your
solution. First, do I need to include the HEAD tag if i am pasting the
code
into the BODY of the page, and second, will this work with netscape,
mozilla
and opera browsers?

David Bartosik said:
There is no access to the head section.
However, in my testing of numerous scripts they function just fine when
pasted to the body section.
In other words just paste the script into the html code fragment as one
entity.

David Bartosik - [MSFT MVP]
www.publishermvps.com
www.davidbartosik.com

Tzakuk said:
Alot of JAVA scripts require you to edit the <HEAD> to run them on your
page.
Can this be done so that i can continue to edit my pages in publsher ?
 
T

Tzakuk

Thanks again David. The solution i have come up with is to make pages with
publisher, edit the head with notepad, then put those edited pages (with all
the nescessary .gif and .js files) into a subfolder and link to it from the
main pages of my site. This way i can continue to edit most of my site with
publisher. I have also taken your advice and am reading up on HTML. Ciao.

David Bartosik said:
Never put a head tag or body tag in the code fragment, Publisher already
writes those. Each of those only come once in an html file.

Just paste everything between the script open and script close tags.

When it comes to browser compatibility between script code and also html
code you can write a book on the topic. In fact they have. No guarantees in
web design. Do it and then test it, and if your heart desires get a few
books and study the topic.

David Bartosik - [MSFT MVP]
http://www.publishermvps.com
http://www.davidbartosik.com

Tzakuk said:
Thank you for your response David. I have a couple of questions about your
solution. First, do I need to include the HEAD tag if i am pasting the
code
into the BODY of the page, and second, will this work with netscape,
mozilla
and opera browsers?

David Bartosik said:
There is no access to the head section.
However, in my testing of numerous scripts they function just fine when
pasted to the body section.
In other words just paste the script into the html code fragment as one
entity.

David Bartosik - [MSFT MVP]
www.publishermvps.com
www.davidbartosik.com

Alot of JAVA scripts require you to edit the <HEAD> to run them on your
page.
Can this be done so that i can continue to edit my pages in publsher ?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top