Hi, I am new to this. Just started taking classes on HTML three weeks ago. I have a website that I did with FrontPage,Frontpage really isn't something to use when learning how to author HTML documents. In fact, any WYSIWYG software should be avoided. At this stage, you should be learning how to do things for yourself. I don't think any professional developer (who's worth their salt, at least) uses WYSIWYG environments. They might use Dreamweaver, but mainly for its content management tools.
Remember that HTML is a semantic language: it describes the content of a document (I certainly hope you were taught that!). Presentation should be provided by CSS. You should also validate (http://validator.w3.org/) your mark-up.
now I want to put the script so one of the copyrighted pictures will not be copied ( with the no right click)That is, quite honestly, impossible. No amount of "protection" can prevent a user from taking an image, and no-right-click scripts don't even come close to qualifying as protection (they're easily circumvented). All you can do is make sure no-one would want to. There are two realistic approaches here:
Reduce the quality of the image so it's useless for anything other than sampling the material.
Smack an ugly copyright notice somewhere. It should be in a place close to the focus of the image so it can't just be cropped out, and it should be placed in such a way that it would be difficult to remove (so not over solid colours).
I don't know exactly where to put it. I know it's supposed to go on the <Head> but where at?Anywhere, really. However, I place a strict order on my own mark-up:
<head>
<!-- META elements, if any -->
<title>Blah, blah, blah...</title>
<!-- LINK elements, including links to external style sheets -->
<!-- I only use STYLE elements in test pages (you should use
LINK elements), but when I do use them, they go here.
-->
<!-- SCRIPT elements go here, for example -->
<script type="text/javascript">
/* Script code */
</script>
</head>Note that the only other attribute that should normally appear on a script element is the src attribute[1]. The language attribute should never be used. It has been deprecated for over six years and it just isn't necessary any more.
With regards to the src attribute, it is almost always preferable to place the script code in an external file and use the src attribute to indicate its location. This allows the script to be cached which saves bandwidth.
In case you're wondering why I use the order above, it's for two reasons:
The order is logical, from the point of view of the user agent.
A bug in an older user agent caused problems if a script element was included before style sheet data. I forget what the effect was (either the script or style data was ignored), but I do remember that placing script elements last avoided the issue.
Hope that helps,
Mike
[1] You could also use defer, but that's rarely ever used.