you can use javascripts in your page in two ways
1.
<html>
<head>
<body>
<script type="text/javascript">
<!-- your javascript code -- >
</script>
</body>
</head>
</html>
or
2.
<html>
<head>
<SCRIPT language=JavaScript src="filename.js"></SCRIPT>
</body>
</head>
</html>
filename.js contains ur js code.
if you want to learn javascript you can read some good tutorials at: www.pagetutor.com
www.w3schools.com
or search google for JavaScript Diaries -- its a good one
i am not writing the full url, you can make some effort to find em in the webpage.
CSS stands for Cascading Style Sheets. With these you can make your webpages more intractive and beautify it even more. Visit
www.w3schools.com for a good css tutorial.
well! what was your last question, i didn't understood it well. make it more clear.
vishesh
vishesh
Nearly a Posting Virtuoso
1,381 posts since Oct 2006
Reputation Points: 85
Solved Threads: 42
well first of all differ with JavaScript and HTML. They both are different so don't use HTML script it confuses me, use HTML code instead, looks better, huh.
i think what you mean to say that you want a text which could be clicked to go to any web page or you mean your page. Some thing like this
Google
Ok let me first introduce with tag or anchor tag. It generally used to make hyperlinks (such as shown Google example).
the syntax for that is
<a href="filename.ext">Your link title</a>
a is as i told u before is anchor tag. In href attribute you write the url to the file(with extension of course) you wanna link.
for example you have file new.zip in the directory. Then you can make a link by
<a href="new.zip">New Zip File</a>
if same file is underfolder1 subdirectory then u use
<a href="folder1/new.zip">New Zip File</a>
else if the same file is one level above i mean to say one directory up then
<a href="../new.zip">New Zip File</a>
similarly for 2 directory up then
<a href="../../new.zip">New Zip File</a>
Now if you want to link a webpage simply write the webpage address:
<a href="new.html">Webpage</a>
hope you understand what i have explained. if u want to learn more about html language just go to www.pagetutor.com
www.w3schools.com
They have some best web tutorials.
and if still don't understand something daniweb is always open.
vishesh
vishesh
Nearly a Posting Virtuoso
1,381 posts since Oct 2006
Reputation Points: 85
Solved Threads: 42
so what he meant was how to publish his files on web to share it with other people...
vishesh
Nearly a Posting Virtuoso
1,381 posts since Oct 2006
Reputation Points: 85
Solved Threads: 42