LiveWire Network Peer Answers Peer Support Teen Forums Tech Forums College Forums 626 users online 179094 members 1069 active today Advertise Here Sign In
TeenCollegeTechPhotos | Quizzes | LiveSecret | Video | Dictionary | News | FAQ
You have 1 new message.
Emergency Help
Until you sign up you can't do much. Yes, it's free.

Sign Up Now
Membername:
Password:
Already have an account?
Invite Friends
Active Members
Groups
Contests
Moderators
3 online / 63 MPM
Fresh Topics
  LiveWire / Technical Forums / Web Design & Search Engine Optimization / Viewing Topic

the difference between HTML, CSS
Replies: 12Last Post July 31 10:08pm by RossTheHoss69
Single page for this topic Email Print Favorite
( Anonymous )

Reply
whats the difference between HTML, CSS, javascript, PHP ect. and how do i know which one pick?

4:45 pm on July 24, 2008
RememberTheName


Larry the Cucumber

Patron
Support Leader
Reply
I think CSS is more hip.

-------
[The Myspace]
[Sick Puppies World Crew]

4:46 pm on July 24, 2008 | Joined Nov. 2005 | 803 Days Active
Join to learn more about RememberTheName Arkansas, United States | Straight Female | 14478 Posts | 24554 Points
Narfle the Garthok

Dairy Product Addict

Patron
Reply
different languages, start with the basics CSS/HTML

-------
YOU MUST
NARFLE THE GARTHOK!

Robdude is my LW Wife.

4:47 pm on July 24, 2008 | Joined June 2008 | 93 Days Active
Join to learn more about Narfle the Garthok Alaska, United States | Straight Male | 2101 Posts | 1764 Points
skittybaby

Professional
Reply
Different scripts.

-------
ilovezamyforever(l)
http://livewire.myminicity.com

4:52 pm on July 24, 2008 | Joined July 2008 | 36 Days Active
Join to learn more about skittybaby England, United Kingdom | Metrosexual Male | 3247 Posts | 2729 Points
( Anonymous )

Reply
what do the scripts look like? and why are they different.

4:55 pm on July 24, 2008
scottyrob

Wealthy Hobo

Patron
Reply
There three different scripting languages... You cant really use one or another because in a way they relly on each other

HTML - The backbone of the website. It tell the browser what is on that webpage, what order the items are in and vaguley how it should appear. All webpages are made out of HTML and need to be. You cannot make a webpage without HTML (You can make it on HTML allone if you wanted to..)

Code:
<div id="blq-content">
<div id="hpOptionsBar">

<h2>Customise Your Homepage</h2>
<ul>
<li><a id="editLink" class="contentLinks" href="#hpEditYourHomePage"><span>Customise your homepage</span></a> </li>
<li><a id="setloc" href="/whereilive/yourarea/"><span>Set your location</span></a> </li>
<li><a href="/go/homepage/d/int/cust/reset/-/home/set/domestic" id="hpReset"><span>Reset homepage</span></a></li>
</ul>

CSS - This is used to format the HTML. CSS Can set items positions, colours, formats and sizes. You will use CSS when you want to change the default page style.

Code:
body{font-family:Verdana, Arial, Helvetica, sans-serif;font-size:11px;background:#50504f url(images/gbck.gif) repeat;}
#box{width:800px;background:#fff;margin:20px auto;padding:10px;}

Javascript - "JavaScript is a cross-platform, object-based scripting language developed by Netscape for client and server applications. It is commonly used on web pages to add interactivity and dynamic content such as banner rotation."
http://www.2020systems.com/internet-ad-glossary-e-q.html

Code:
<head>
<script type="text/javascript">
function detectBrowser()
{
var browser=navigator.appName;
var b_version=navigator.appVersion;
var version=parseFloat(b_version);
if ((browser=="Netscape"||browser=="Microsoft Internet Explorer") && (version>=4))
 {
 alert("Your browser is good enough!");
 }
else
 {
 alert("It's time to upgrade your browser!");
 }
}
</script>
</head>

<body onload="detectBrowser()">
</body>

Post edited at 12:50 am on July 25, 2008 by scottyrob

-------
Once a Red Bar, Always a Red Bar... Points are for lossers :)


12:46 am on July 25, 2008 | Joined Aug. 2005 | 746 Days Active
Join to learn more about scottyrob England, United Kingdom | Straight Male | 1578 Posts | 5895 Points
( Anonymous )

Reply
so HTML= words for the website and CSS= design for the website...in easy words right? what about javascript and PHP?

1:13 am on July 25, 2008
scottyrob

Wealthy Hobo

Patron
Reply
.. HTML is needed to create the website.. It places the images, tables, text etc on the page...

CSS is then used to format the images, tables and text and where to place them on the page

Javascript is mainly used for interaction with the user I.E Image rotation, message boxes, form validation

PHP is server side and is used to communicate with the server. The most common use of PHP is for sending contact forms and for interacting with a database.

-------
Once a Red Bar, Always a Red Bar... Points are for lossers :)


5:50 am on July 25, 2008 | Joined Aug. 2005 | 746 Days Active
Join to learn more about scottyrob England, United Kingdom | Straight Male | 1578 Posts | 5895 Points
( Anonymous )

Reply
Quote: from scottyrob at 5:50 am on July 25, 2008

.. HTML is needed to create the website.. It places the images, tables, text etc on the page...

CSS is then used to format the images, tables and text and where to place them on the page

Javascript is mainly used for interaction with the user I.E Image rotation, message boxes, form validation

PHP is server side and is used to communicate with the server. The most common use of PHP is for sending contact forms and for interacting with a database.


im not really getting what javascript and PHP is for? javascript is a menu?


5:27 pm on July 29, 2008
allsmiles


Soothsayer

Ad Free
Reply
Forget about Javascript and PHP then. They are not used for web design in any significant way, so until you're interested in development you may as well write them out the script.

-------
When they leave me, they're all smiles.
When they leave you, they're in tears.

5:41 pm on July 29, 2008 | Joined Aug. 2007 | 329 Days Active
Join to learn more about allsmiles England, United Kingdom | Male | 5906 Posts | 11503 Points
( Anonymous )

Reply
but its good to know just in case. isnt javascript used for a changable menu type of thing?

12:57 pm on July 30, 2008
allsmiles


Soothsayer

Ad Free
Reply
Javascript's for dynamic content updated clientside. IE, changing how the webpage looks after it's loaded.

-------
When they leave me, they're all smiles.
When they leave you, they're in tears.

3:25 pm on July 30, 2008 | Joined Aug. 2007 | 329 Days Active
Join to learn more about allsmiles England, United Kingdom | Male | 5906 Posts | 11503 Points
RossTheHoss69


Enlightened One

Patron
Tech Support Leader
Reply
HTML - Forms the basis of a website, ie the tables, divs, etc.
CSS - Styles how everything looks.
JS - Transitions things, ie popup windows, mouseovers.
PHP - Spits out the Raw Code, ie HTML, in a faster format.

-------
I'm not changing this line until I get a girlfriend. [7-08-07; 1:26 a.m.]
Click for n00dz.
Shït. Piss. Fück. Cünt. Cocksucker. Motherfücker. And Tits.
Rest In Peace, George Carlin.

10:08 pm on July 31, 2008 | Joined Dec. 2005 | 743 Days Active
Join to learn more about RossTheHoss69 Texas, United States | Male | 5179 Posts | 15970 Points
Single page for this topic Email Print Favorite

Quick Reply

You are signed in as our guest.

Looking for something else?
 

  LiveWire / Technical Forums / Web Design & Search Engine Optimization / Viewing Topic