Free HTML Script Codes
Loes Knetsch ©

It’s amazing what you can do with a little creative HTML writing on your website. Here are some great HTML Script codes. And you may use them freely. Codes for alerts, don’t copy, copyright and highlight.

html-filetype icon

Welcome your visitor to your website

You just clicked OK on this message from me “Hey hello, how nice to see you! I wish you a very nice time surfing my website! Kind regards, Loes”

Here is the code to make this alert message.

<script>alert("Hey hello, how nice to see you! I wish you a very nice time surfing my website! Kind regards, Loes")</script>

Do not copy my content!

This is just a warning to your visitors, it doesn’t prevent people from copying, but it might help. Only the copy function on the right mouse click will be disabled.

<script>function click(){if (event.button==2){alert('Do not copy my content!')}}document.onmousedown=click</script>

 

HTML code current year copyright

When you click on the little arrow next to the Copyright, a drop-down text will appear

Copyright © 2018.

– by Loes Knetsch. All Rights Reserved.

All content and graphics have been collected with care

 

<details> <summary>Copyright © 2018.</summary>- by Loes Knetsch. All Rights Reserved.    All content and graphics have been collected with care.    </details>

I have changed the text into “Meet the Writer”. You can check this on top of my sidebar. You can even add a clickable image to this drop-down.

Displaying Designers on your website

This looks very nice on your Privacy Policy, your Affiliate disclaimer or your About me page.

Designed by Loes Knetsch.
Country: The Netherlands
workathomefuture.com
Member of Wealthy Affiliate [2014]
 
<address>Designed by <a href="mailto:youremailaddress">your name</a>.  Country: Your Country  <a href="your URL">Your website</a>  <a href="Any link">and anything else you want to display</a></address>

Highlight your text

Sometimes you would like it when your text jumps out. Highlight your text now.

<span style="background-color: #ffff00;">your text</span>  

Change the highlight color

<span style="background-color: #99ff66;">your text</span>

How to copy these codes?

Select and use Ctrl+C and for pasting use Ctrl + V

 

Other interesting free HTML script codes

(Visited 42 times, 1 visits today)

Hey, nice to meet you. I am Loes and I love to work, create and make money on the internet. My vision for the future is promising because the activities and sales go to triple over the next few years. You can take advantage of it too. Step into the world of affiliate marketing today, and work towards financial freedom for you and for your family. If you would like to learn how to build your own Wordpress website, click here to open your free account today!

  1. Jeff Marshall says:

    Thank you for all the different HTML codes that we can put on our websites, Loes. I am sure these HTML quotations will come in very handy, especially the Copyright warning.
    I noticed you have a cookies bar at the bottom of your Post.
    Could you share the code with me as I would love to put this coding on my website?
    Thank you, Jeff.

    • Loes says:

      Hi Jeff, you are very welcome:) The cookies warning is a plugin I use. It’s called EU Cookie law. You can find it at your WordPress dashboard, add new. For European users it’s obligated by law. Hope this helps. Loes

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes:

<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>