Log In


sidebar 1

WoozWorld

Coming up! Stay Tuned!

sidebar 2

Coming Up! Stay Tuned!

sidebar 3

REGISTRATION FOR TECHNOLOGY STUDENTS!

Do you like quality posts? We are looking for authors who are interested in this website because we want different quality posts. You have something that we could be missing so why not give it a try now!

sidebar 4

WHAT IS CACHE? HOW TO REMOVE CACHE?

Do you want to know what is Computer Cache? Do you want to know how it effects your computer? Do you want to know why is it good or why is it bad? Do you want to clean them? Click Here!.

sidebar 5

CYBER SAFETY - TEENS AND PRE-TEENS

Do you want to know our right on the Internet? Do you want to keep yourself safe on the Internet? Click Here!

Tuesday, March 1, 2011

JavaScript Introduction

Requirements:

Before continuing to JavaScript, you have to know the basic understanding of HTML/XHTML.

What is JavaScript? 

JavaScript is a scripting language. It is a scripting language and it is a lightweight programming language. JavaScript can also be embedded directly into HTML pages which is awesome! Pretty much everyone can use JavaScript without purchasing a license.

What the difference between Java and JavaScript? Are they the same?

I have come across a lot of situation of people where they think that Java and JavaScript is the same. NO! they are not the same. There is a difference. Java is developed by Sun Microsystems which is a way powerful and much more complex programming language then JavaScript.

What Can JavaScript do?

It does the following things:
  • JavaScript can put dynamic text into an HTML page
  • JavaScript can react to events
  • JavaScript can read and write HTML elements
  • JavaScript can be used to validate data
  • JavaScript can be used to detect the visitor's browser
  • JavaScript can be used to create cookies
- w3schools.com
Example:
When starting Javascript, you will to include this before and after the code:
<script type="text/javascript"> write your code here </script>. This tells the computer that the javascript code starts from here "<script type="text/javascript">" and ends here "</script>".
So now try this:
<script type="text/javascript"><!--
document.write("Hello World!")
//--></script>
Where to download JavaScript?

You can download JavaScript Editor at http://www.yaldex.com/Ready/freejse.zip for your practise.

Introduction to HTML

Today I will show you what is HTML and what can you do with HTML. Also, I will introduce HTML to you so let's get started!

What is HTML?
First of all, HTML stands for Hyper Text Markup Language. Some people thinks that HTML is a programming language but its not. HTML is markup language. A mark up language is a set of markup tags. With HTML, you can create websites.

Introduction:
Well, HTML is really easy to learn so lets start with the code. The first thing that I would recommend is to have a notepad. If you don't have one then you can download it from Google. Let's get started!

  • Open NotePad
  • Remember: When ever you are writing HTML code, it has to look like this so when you save it as "htm", it will show up in IE, Firefox, and Chrome. 
Here is an Example:

<html>
<body>
 
<title>Exmaple</title>

<h1>My First Heading</h1>
<p>My first paragraph.</p>

</body>
</html>

  • When ever starting, you have to include <html> at the very top and </html> at the end so the computer knows that you are writing the html language otherwise it will not work!
  •  You need to include the <body> and </body> because the body is where you have to write everything so if you don't include them then the computer will think that all this code belongs no where and you won't see the code when you open through IE.
  • You also need <title> and </title>. This title is what you would see on the tab when you open it up with Internet Explorer.
  •  <h1> and </h1> stands for Heading # 1 so its the biggest heading you can have.
  • <p> and </p> stands for paragraph so when ever staring a new paragraph, use <p> and </p>.
  • And then at the end Enclose them with </body> and </html> so the computer knows that the body and the html code is finished! 

Here is some additional code if you want to add. For the first time, you will have some trouble with adding the new code but if you don't make mistakes then you won't learn so have fun with it:

Additional Code:

<h1>This is a heading #1</h1>
<h2>This is a heading #2</h2>
<h3>This is a heading #3</h3> 


<p>This is paragraph #1.</p>
<p>This is paragraph #2.</p>


<a href="http://www.google.com">Google</a> - So in this case, when you type that and save the file and open it, you will only see "Google" but when you click on it, it will take you to Google.com because I have redirected the text with Google.

<img src="http://28.media.tumblr.com/RbC2kQA2Cmnn1jquCcFw3ESZo1_400.jpg" width="104" height="142" /> - So this is the code for inserting an image; first you put the link of the image and the you decide how wide and long you want the picture to be by playing with width and height.

If you have any questions or would like to know other things then please leave a comment!

Which blog provider should I use?

A lot of you would like to know which blog provider is good. It's really based on your personalities and interests. So Let's see which one is good: Blogger or WordPress? Well, I have used both of them and had a lot of fun with them. So let's get started!

Blogger:

  • In blogger, you can have your own theme uploaded.
  • In blogger, you can add anything you want.
  • In blogger, you have full control of CSS.
  • In blogger, you have full control of HTML, XHTML.
  • In blogger, you only have 10 pages.
  • In blogger, you can have any app you want as long as its associated with Google.
  • In blogger, you will have Template Designer so in case you don't know HTML or CSS, you can do it from there.
  • In blogger, you can make money with AdSense.
  • In blogger, you can use Iframe function.
WrodPress:
  • In wordpress, you can't upload your own theme unless you buy the website from wordpress then yeah you can upload your own. Not Free!
  • In wordpress, there are few things that are not allowed due to security reasons.
  • In wordpress, you have to buy Custom CSS which costs you $14.95.
  • In wordpress, you have unlimited pages.
  • In wordpress, you can add any apps you want but you have to upgrade your website so you can add your custom apps.
  • In wordpress, you will have Custom Menu Editor, Theme options, Background,  Header, Typekit Fonts.
  • In wordpress, you will have the option to invite users as Contributor, Authors, Editor, and Administrator.
  • In wordpress, you can not use the Iframe function unless you buy the website then yes you can.
So in the end, if you are looking for a free website with everything, then it would be Blogger but if you want to buy a website for business and stuff like that then I recommend buying from Wordpress.

Any questions? Feel free to leave it in Comments!

Share

Twitter Delicious Facebook Digg Stumbleupon Favorites More