<!-- InstanceEndEditable --> What does this mean in code and why w

L

Lae135

use it? I was wondering what this code was for exactly with the page code.
Why would I use and could I not use it?

thanks, Linda
 
L

Lae135

My brother was helping me with a layout - I saw this line in the code and
when I removed it - it didn't change the appearance of the code. He was not
sure if FP used it too....i figured this would be the place to find out. He
has helped me with code before but we never came across this situation

thank you!
 
P

p c

In HTML, anything (including HTML) betewen "these" tags is considered
comment.

<!--this a comment-->

or

<!--
this is mutiline comment
this is mutiline comment
-->

The browser ingnores (does-not display) comments. But people who look at
the HTML can see them. Comments are used to provide info, remnders, or
guidance to the web authors (e.g., in templates or when multiple peopl
might work on a page) or to quickly add/remove or test changes.

For example, if you have a special banner and you don't want to show it
any more (but you don't want to remove it permenently), you comment-out
the HTML that calls the banner. Another example, you want see how a page
might look with a different stylesheet, you add the "links" to different
stylesheets and you comment them out except the one you want to test.

FP and other add web editors add HTML comments when you use certain
features.

...PC
 
J

Jim Carlock

p c said:
In HTML, anything (including HTML) betewen "these" tags is
considered comment.
<!--
this is mutiline comment
this is mutiline comment

The browser ingnores (does-not display) comments...
-->
Sometimes the comment stuff gets employed in server-side
code and the browser never sees the comments (eg, SSI
(server-side includes)).

<!--#include "/pathto/includefile.asp" -->

Hope this helps.

Jim Carlock
Post replies to the newsgroup.
 

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