Mind blowing SEO improving and Google rank increasing Signature Rotator SEO Tool.

Thread: 

HTML code disable

Ads
antony Offline referral

Posts: 478
Joined: Jul 2013
Reputation: 5

#1
Senior Member
Could you help me please I want to disable a part of the HTML code I don't want to remove it just make it inactive.
victor Offline referral

Posts: 638
Joined: Jun 2013
Reputation: 33

#2
Senior Member
(07-05-2013 03:11 PM)antony Wrote:  Could you help me please I want to disable a part of the HTML code I don't want to remove it just make it inactive.

To disable a piece of HTML code use this:
Code:
<!-- Code you want to disable -->


Here is the example for you:
Code:
<html>
<head>
<title></title>
</head>
<body>
<div align="center"><p>HTML code not disabled!</p></div>
<!-- <div align="center"><p>HTML code disabled!</p></div> -->
</body>
</html>
marcus_avrelius Offline referral

Posts: 2,424
Joined: May 2013
Reputation: 102

#3
Support Team
It can be used not only to deactivate part of the HTML code but also to add notes inside the HTML code like for instance you have added some custom HTML code to your main or master HTML code and you want to know where it is if for some reason later you decide to do something with it.
Code:
<!-- AdSense Ads START-->
AdSense code goes here
<!-- AdSense Ads END-->
chod Offline referral

Posts: 860
Joined: Jul 2013
Reputation: 85

#4
Posting Freak
Or if you need to comment out a large section

Code:
<!--
code line 1

line30

line 500
-->
www.AdminEmpire.com
www.BlimptonTech.com - Best Free Online JavaScript tool to minify JavaScript files.
invisibe_dude Offline referral

Posts: 820
Joined: May 2013
Reputation: 24

#5
Posting Freak
Nice feature allows me to keep track of my HTML code
chod Offline referral

Posts: 860
Joined: Jul 2013
Reputation: 85

#6
Posting Freak
(12-04-2013 01:09 PM)invisibe_dude Wrote:  Nice feature allows me to keep track of my HTML code

just remember dont push comments to production Wink
www.AdminEmpire.com
www.BlimptonTech.com - Best Free Online JavaScript tool to minify JavaScript files.
marcus_avrelius Offline referral

Posts: 2,424
Joined: May 2013
Reputation: 102

#7
Support Team
If you want to disable or hide a part of the HTML code then you have to know that the code will still be visible to everyone inside the source code, if you really want to hide it then it's better to remove it from the source code
chod Offline referral

Posts: 860
Joined: Jul 2013
Reputation: 85

#8
Posting Freak
(12-05-2013 05:01 PM)marcus_avrelius Wrote:  If you want to disable or hide a part of the HTML code then you have to know that the code will still be visible to everyone inside the source code, if you really want to hide it then it's better to remove it from the source code

Or invisible ink Tongue
www.AdminEmpire.com
www.BlimptonTech.com - Best Free Online JavaScript tool to minify JavaScript files.
maya Offline referral

Posts: 1,058
Joined: May 2013
Reputation: 34

#9
Posting Freak
Any idea how to create an invisible link?
invisibe_dude Offline referral

Posts: 820
Joined: May 2013
Reputation: 24

#10
Posting Freak
(12-06-2013 02:52 PM)Maya Wrote:  Any idea how to create an invisible link?

Check this tutorial I have posted: http://letsforum.com/Thread-How-to-creat...k-Tutorial
chod Offline referral

Posts: 860
Joined: Jul 2013
Reputation: 85

#11
Posting Freak
I was making a joke about using invisible ink not using an invisible link Tongue
www.AdminEmpire.com
www.BlimptonTech.com - Best Free Online JavaScript tool to minify JavaScript files.
maya Offline referral

Posts: 1,058
Joined: May 2013
Reputation: 34

#12
Posting Freak
Hold on looks like Google doesn't really like hidden content so it's no go for me thanks though Smile





User(s) browsing this thread: 1 Guest(s)