You are on page 1of 5

Basic Concepts Web Site: A Computer that Hosts Web Pages Web Server: Software that must be installed

on computer acting like Web Site Java: TOMCAT PHP: Apache . NET: IIS Computer + Web Server => Web Site What does a Web Page contains? -> TEXT, IMG, AUDIO, VIDEO etc

How to create a Basic Web Page? Use HTML, CSS, JS HTML means Hyper Text Markup Language for User Interface; like creating Buttons etc. CSS means Cascading Style Sheet for Layout and Presentation; like Decorating button JS means JavaScript; its for ACTIONS like doing something on Button Click Java and JavaScript are related to each other; just like DOG and HOTDOG; 0% Related

<html> <head> <style type="text/css"> #span1{ color:red; font-weight: bold; cursor: pointer; } </style> <script type="text/javascript"> function function1(){ alert("Mahendra Singh Dhoni");//MessageBox } </script>

</head> <body> I Love Team India <br /> All players are good <br /> but <span id="span1" onclick="function1()">MSD </span> is best </body> </html>

You might also like