| |||||||
This is a discussion on Some HTML Codes and Tips within the HTML/CSS/JavaScript section, part of the Programming category; Embedding webpages within webpages Copy and paste the code below into your web page where you would like to embed ...
![]() |
|
| | LinkBack | Thread Tools | Display Modes |
|
#1
| ||||
| ||||
| Embedding webpages within webpages Copy and paste the code below into your web page where you would like to embed the additional page. HTML Code: <object data=http://tech6.com width="600" height="400"> <embed src=http://tech6.com width="600" height="400"> </embed> Error: Embedded data could not be displayed. </object>
__________________ Would you like to Link To Us | Support TECH6 by going Premium Know more about me at Vinayaks.com | Follow TECH6 at Twitter |
|
#2
| ||||
| ||||
| If you need to redirect your visitors to a new page, this HTML redirect code may be just what you're looking for. When designing a web site, many times you must change the location of a web page. However, if the page is popular, your visitors may have already linked to it. In addition, the Search Engines have most-likely already indexed the page. For this reason, it is best to replace your page with a new page that will redirect your visitors to the new page. This provides a great way to provide your visitors with the information they were looking for and prevent you from losing your traffic. However, when using this HTML redirect code, please ensure that you don't use it to trick the Search Engines, as this could get your web site banned. It is always best to work hard and learn quality ways in which to drive traffic to your web site. Place the following HTML redirect code between the <HEAD> and </HEAD> tags of your HTML code. HTML Code: <meta HTTP-EQUIV="REFRESH" content="0;url=http://www.yourdomain.com/index.html">
__________________ Would you like to Link To Us | Support TECH6 by going Premium Know more about me at Vinayaks.com | Follow TECH6 at Twitter |
|
#3
| ||||
| ||||
| When designing your web pages, there may be a time when you will want to remove the underline of an individual text hyperlink. Although it is always best to leave hyperlinks at their default settings, as this is what your visitors will be used to, this HTML tip will assist you removing the link underline. To remove a link underline, add STYLE="TEXT-DECORATION: NONE" to your link code: HTML Code: <a href="http://tech6.com" STYLE="TEXT-DECORATION: NONE">Your Link</a>
__________________ Would you like to Link To Us | Support TECH6 by going Premium Know more about me at Vinayaks.com | Follow TECH6 at Twitter |
|
#4
| ||||
| ||||
| You can display your link description in the status bar of your browser. When the mouse is placed over a link, the link description will be viewed in the status bar. Copy and paste the following code into the HTML portion of your web page where you would like the link to appear: HTML Code: <a href="http://tech6.com" onmouseover="window.status='Your text description'; return true" onmouseout="window.status='';return true">Your linked text</a>
__________________ Would you like to Link To Us | Support TECH6 by going Premium Know more about me at Vinayaks.com | Follow TECH6 at Twitter |
|
#5
| ||||
| ||||
| If you're looking for a way to prevent Search Engines from indexing certain web pages within your web site, this HTML tip is for you. Meta tags are used to give detailed instructions in regard to a web page to the Search Engines and browsers. Many times, you may have a web page that you don't want the Search Engines to index, such as download pages or private membership sites. To help with this problem, add one of the following META tag codes between the <HEAD> and </HEAD> tags of your HTML. The following META tag tells the Search Engine robots not to index this page and not to follow any links within the page: HTML Code: <META NAME="ROBOTS" CONTENT="NOINDEX,NOFOLLOW"> HTML Code: <META NAME="ROBOTS" CONTENT="NOINDEX,FOLLOW">
__________________ Would you like to Link To Us | Support TECH6 by going Premium Know more about me at Vinayaks.com | Follow TECH6 at Twitter |
|
#6
| ||||
| ||||
| If you're displaying your email address on your web site, you may be unknowingly setting yourself up to receive a ton of spam email. Unfortunately, spam robots are continuously crawling the Internet in search of email addresses they can use to not only send spam, but also sell to other spammers. However, although it's very difficult to protect yourself from receiving spam email, there is a way you can still display your email address on your web site and protect it at the same time. Instead of displaying the usual mailto:you@yourdomain.com email link within your web page, use the following code within your HTML: HTML Code: <a href="mailto:you@yourdomain.com">Contact Us</a>
__________________ Would you like to Link To Us | Support TECH6 by going Premium Know more about me at Vinayaks.com | Follow TECH6 at Twitter |
|
#7
| ||||
| ||||
|
This deserves to be thanked..
__________________ " There are no failures - just experiences and your reactions to them. New members Please read before u post General Tech6 Rules !!! CSS Validator | Markup Validator | RSS Validator |
|
#8
| ||||
| ||||
| hai ... CAPTCHA test : In a CAPTCHA test ("Completely Automated Public Turing test to tell Computers and Humans Apart,"), an image of letters is dynamically generated are difficult for a spambot or other computer program to read. Using a captcha test on a website is a great way to ensure, for instance, that a person and not a spambot is filling out a web form. Also, a captcha can make it difficult for a person to continuously resubmit form information and overwhelm the form's purpose. I am attaching a simple captcha test with example(which i got from my computer):wink: may be helpfull to others Visit here for more: http://www.captcha.net/ Happy coding Spec_tray
__________________ " There are no failures - just experiences and your reactions to them. New members Please read before u post General Tech6 Rules !!! CSS Validator | Markup Validator | RSS Validator |
|
#9
| ||||
| ||||
|
nice information shared....
|
|
#10
| ||||
| ||||
|
__________________ My iPhone is better than yours........... I Am Back! |
![]() |
| Bookmarks |
| Thread Tools | |
| Display Modes | |
| |