You are on page 1of 10

What is a website?

basically web site contains one or more pages. The Default webpage of any website names as index.htm
or index.php

Differnce between Apache HTTP web server and Application server?

Ans: web server genereally serves static content , may server dynamic content if you write content php
or jsp or etc.. and can configure to only one port 80 or 8080
If you want to perform some task on front end (E.g : Gmail (sending , receiving and deleting mail) Google
docs(Creating , editing, deleting and printing), and can configure to multiple ports 80, 8080 or any other

HTML Page contents

<h1> Heading</h1> to <h6> </h6>--- used for the heading

<P>Paragrhaph </P>- Used for paragraph


<Title> Title </title> -- Used to define title End tag is Mandatory

<Html> to define Html Block </html>-- End tag is optional

<Body> </body>-- end tag is optional

When a tag doesnt have actual end tag and if you still mention in your code, that end tag will be
ignored by the browser

Attr1 = Value - white space will be interpreted by browser as one space

Tag names are case insensitive

<Script></script> Script data

Style sheet <Style></Style>

<!comment -->

<br>-- used for a breaking lineRarely we will use

</br>-- Does not exist

&nbspto insert blank spacesNon breaking space -- Rarely we will use

www.Caniuse.com
5

<html>

<head>

<body>

</body>

<frameset>

</frameset> not supported in HTML

<iframe>supported in HTML5

</iframe>

</head>

</html>
Strict DTD

loose DTD
frameset DTD

You might also like