954,561 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Have something to say? Contribute New Article Reply to this Article

a just started i need help

ok i got a lot of question

what i need to have to use java scripts




whats css scripts how do i use it and what i need to have to use it



html: when i made a script how do i make a site with it exemple: www."********".com like that ppl can go and see what i made.

sorry if i posted in the wrong forum


thx for the answers : mim3

mim3
Newbie Poster
10 posts since Oct 2006
Reputation Points: 10
Solved Threads: 0
 

Hi,
you can insert JavaScript Scripts in every HTML Document.
Like this:

<html>
<head>
<body>
<script type="text/javascript">
alert("Hello World");
</script>

</body>
</head>
</html>


That was answer number 1 :cheesy:

A short introduction is here: http://www.w3schools.com/css/css_intro.asp


But I don't understand your last question.. :rolleyes:

Greets Neo-Cruise :)

Neo-Cruise
Newbie Poster
6 posts since Oct 2006
Reputation Points: 10
Solved Threads: 0
 

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
 

like i made html script then i go to internet to file and press open to open my script, how i get the link to my script like that i can give the link to my friends and my friend can view my scripts "site".


is it better :confused: :rolleyes:

mim3
Newbie Poster
10 posts since Oct 2006
Reputation Points: 10
Solved Threads: 0
 

can i get a answer plz

mim3
Newbie Poster
10 posts since Oct 2006
Reputation Points: 10
Solved Threads: 0
 

Hm...
I am from Germany and I'm very young, so my english isn't very good.
But I think I know what you want.

You have the 'Home' Site:

<html>
<head>
<body>
Welcome to my Page
</body>
</head>
</html>



You want to insert a link to another page?

<a href="file.html">The Link Text</a>


Or do you want to show the script of the page?


Greets Neo-Cruise :rolleyes:

Neo-Cruise
Newbie Poster
6 posts since Oct 2006
Reputation Points: 10
Solved Threads: 0
 
html: when i made a script how do i make a site with it exemple: www."********".com like that ppl can go and see what i made.

Huh? you cant make a website with a script. normally you use javascripts to do something that html cant, such as changing the background colour every 10seconds, or for form validation, etc.

NuGG

NuGG
Junior Poster
111 posts since Feb 2005
Reputation Points: 10
Solved Threads: 1
 

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
 

nvm about the last question a made a new topic and you guys answerd already thx a lot

mim3
Newbie Poster
10 posts since Oct 2006
Reputation Points: 10
Solved Threads: 0
 

Answer to the last question...

You need to upload your filesd to a Web server.

You can either find a free Web hosting provider or purchase a domain name and a hosting plan.

FC Jamison
Posting Pro in Training
Team Colleague
446 posts since Jun 2004
Reputation Points: 92
Solved Threads: 21
 

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
 

This article has been dead for over three months

Post: Markdown Syntax: Formatting Help
You