Jump to content

protecting html


djp1988

Recommended Posts

I often look at html source codes of various sites to see how they were built, and i just saw today a site what I cold not edit the code in Dreamweaver, it was beore this tag:<!-- InstanceEndEditable -->What is this?

Link to comment
Share on other sites

I often look at html source codes of various sites to see how they were built, and i just saw today a site what I cold not edit the code in Dreamweaver, it was beore this tag:<!-- InstanceEndEditable -->What is this?
The above is only an ordinary HTML comment. Why wouldn't dreamwaver allow you to edit it, I have no idea, but that's not a "feature" to protect HTML code with. It's more of a Dreamwaver bug. You are sure the whole page is loaded, right?
Link to comment
Share on other sites

I have not had any errors with Dreamweaver, however in BBEdit I can delete what I want, but everything abvoe the tag I mentioned was gray in the Dreamweaver source code view, and I couldn't manipulate it, try yourself, maybe it's to do with some other piece of code ?The page is: http://www.iucn.org/Here is some code, the only editable part in this part is the title tag and DOCTYPE tag:

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"><html><!-- InstanceBegin template="/Templates/iucn-2005.dwt" codeOutsideHTMLIsLocked="false" --><head><meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"><meta http-equiv="EXPIRES" content=0><meta content="world conservation union, conservation, nature, species, biodiversity, extinction, red list, protected areas, environment, ecosystem, management, sustainable development, poverty, livelihoods, drylands, forests, marine, high sea, mountains, invasive species, natural resources, livelihoods, habitat, protected area categories, world heritage, water, wetlands, climate change, equity, participation, education, communication, law, economics, trade, sustainable use, wise use, gender, policy, news, international, union, commission, member" name="keywords"><meta content="IUCN - The World Conservation Union" name="description"><meta content="DOCUMENT" name="RESOURCE-TYPE"><meta content="GLOBAL" name="DISTRIBUTION"><meta content="INDEX, FOLLOW" name="ROBOTS"><meta content="10 DAYS" name="REVISIT-AFTER"><meta content="GENERAL" name="RATING"><meta content="Copyright (c) 2005 by IUCN" name="COPYRIGHT"><!-- InstanceBeginEditable name="doctitle" --><title>IUCN - The World Conservation Union</title><!-- InstanceEndEditable --><link href="http://www.iucn.org/wl/css/iucn.css" rel="stylesheet" type="text/css"><script language="JavaScript" src="http://www.iucn.org/wl/js/drop-menus.js"></script><script language="JavaScript" src="http://www.iucn.org/wl/js/drop-content.js"></script><!-- InstanceBeginEditable name="head" --><!-- Start of StatCounter Code -->

Link to comment
Share on other sites

The <!-- InstanceEndEditable --> is a Dreamweaver internal note for the template system, basically if you open up a Dreamweaver template (in DW) then it will prevent you from editing the parts outside the InstanceEditable sections. However, this is Dreamweaver-specific and any other program will not in any way recognize or respond to the tags (unless you tell it too).

Link to comment
Share on other sites

Lol - if you look at the top of a document you sometimes may see a <meta> tag of type "generator", that will tell you which program the site was made with.

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...