Wednesday 29 January 2014

HTML FORM

The best way to display your HTML form is to insert it inside a table, like this:

<! DOCTYPE html>
<head>
<title>FORM</title>
</head>
<body>
<form action="submit.php" method="post">
<table border="0"> 
<tr>
<td> Username </td><td>< input type="text" name="username"></td>
</tr>
<tr>
<td> Password </td>< input type="password" name="username"></td>
</tr>
<tr><td><input type="submit" value="LOGIN"></td>
</tr>
</table>
</form>
</body>
</html>

When you load the form in this way you will see that it appears without the table borders. and the form will look good.

Saturday 11 January 2014

WEB DESIGN

Web design is quite easy, to start creating website, you just need to learn HTML, PHP, CSS, JAVASCRIPT and SQL.
HTML which stands for Hyper Text Markup Language is a markup language used to create website that are displayed by browsers. HTML is not a programming language, it's a markup language, it is enclosed inside tags(i.e. < and >). HTML is very easy to learn, you can learn the core HTML aspects in just a day, it just depends on your dedication.
PHP is a server-side scripting language that enables you to create dynamic websites, it;s a powerful programming language that supports object orientation. PHP is also executed on the server, but you can embed it inside HTML pages/
CSS which stands for cascading-style sheet is another web development language that lets you create attractive websites, CSS is just like a cosmetic to websites.
JAVASCRIPT is a programming language that enables a web developer to create dynamic websites, the difference between javascript and PHP is that while the latter is executed on the server, javascript is executed on the browser, it helps a web developer to reduce the traffic on his server.
SQL stands for Structured Query Language lets a web developer to interact with his database.

HTML WITH JAVASCRIPTY

Here is a simple way to display a text in a browser using using Javascript

<!DOCTYPE html>
<head>
<title>Home</title>
</head>
<body bgcolor='gray'>
<script>
document.write("I welcome you to my website, have a nice day");
</script>
</body>
</html>

The above piece of JavaScript code will display a message "I welcome you to my website, have a nice day" when the browser loads the page.

Friday 10 January 2014

PHP MySQL

The most widely used Server-side scripting language and web Database.

JAVA

THE FIRST PROGRAM FOR ANY JAVA BEGINNER

public class Hello World {
public static void main(String args[]) {
System.out.println( "Hello World" );
}
}
 No one is gonna forget this