Vikash
Vikash
and Engineering
Session (2023-2024)
A ETE REVIEW
REPORT ON
WEB DEVELOPMENT
CHAPTER 2 Introduction
1. HTML
a. Structure and
Syntax. b.HTML
Tags.
2. CSS
a. Structure and Syntax.
b.CSS Usage and
Properties.
3. SQL
a. Uses.
b.Feature
s.
4. PHP
a. Intro.
b. History of PHP.
c.Features.
Chapter 1
CHAPTER 3
HTML
HTML is a markup language which means it consists of
markup tags which the browser understands. HTML is
Hyper Text Markup Language and is derived from SGML
which is Standard Generalized Markup Language. It is
case Insensitive and it does not need any compiler. It is
directly understood by the browser and it displays the
requested information by the user. HTML documents are
composed entirely of HTML elements that, in their
most general form have three components: a pair of tags,
a "start tag" and "end tag"; some attributes within the
start tag; and finally, any textual and graphical content
between the start and end tags, perhaps including other
nested elements. The HTML element is everything
between and including the start and end tags. Each tag is
enclosed in angle brackets.
<html>
<head>
<title> The title of your html page </title>
</head>
<body>
<! - - your web page content and markup - ->
</body>
</html>
HTML Tags
HTML consists of Tags which define the type and property
for the document text to be used. Some common HTML
Tags are: -
<A> </A> Anchor element to set Hyperlinks.
<B> </B> Content is shown as bold type
<TITLE> </TITLE> Title of document.
<BODY> </BODY> The body part of the HTML document.
<BR> Force line break within paragraph.
<CENTER> </CENTER> Content is centered on page (can
include paragraphs etc.).
<DIV> </DIV> A dummy element which contains block-
level elements. It is used with style sheets.
<EM> </EM> Emphasis: text usually displayed in italics
<FONT> </FONT> Used to define characteristics of font,
according to attributes e.g. SIZE, COLOR, FACE. SIZE sets
size, 1-7 e.g. SIZE="5". COLOR sets colour of text e.g.
<FONT COLOR="#FF0000"> makes text red. FACE e.g.
FACE="Times".
<HEAD> </HEAD> The head part of the HTML document.
<H1> </H1> <H2> </H2>...<H6> </H6> Headings
(levels 1-6, i.e., H3 is a subheading within a H2
subheading).
<I> </I> Italics.
<IMG> Image. Attributes: must have SRC and ALT. SRC
gives source file for image, e.g. SRC="picture.jpg". ALT
gives brief description e.g. ALT="Picture of UB"
<LI> </LI> List item. Used within an ordered (<OL>) or
unordered (<UL>) list <OL> </OL> Ordered list. Includes
<LI> List Items, which will be numbered automatically
<P> </P> Paragraph
<SPAN> </SPAN> A dummy element which contains
in-line content. It is used with style sheets.
<STRONG> </STRONG> Text is emphasised strongly -
usually appears in bold.
<SUB> </SUB> Subscript
<SUP> </SUP> Superscript
<TABLE> </TABLE> Table.
<TD> </TD> Table data cell.
<TH> </TH> Table header cell.
CSS
selector
{property:
value} selector
= element.class
Example:
#label:hover
{ border-
color:blue;
}
Here Label is the selector which is a id named label
having property of border color to be blue.
HISTORY OF PHP:
Features of PHP:
There are many given features of PHP.
Performance: Script written in PHP executes much
faster then those scripts written in other languages
such as JSP&ASP
Open-Source Software: PHP source code is free
available on the web, you can developed all the
version of PHP according to your requirement without
paying any cost.
Platform Independent: PHP are available for WINDOWS,
MAC, LINUX & UNIX operating system. A PHP
application developed in one OS can be easily
executed in other OS also.
Compatibility: PHP is compatible with almost all local
servers used today like Apache, IIS etc.
Embedded: PHP code can be easily embedded within
HTML tags and script.
A PHP code:
File: hello.php
<html>
<body>
</body>
</html>
SQL
SQL is a relational database management system which
has more than 6 million installations. SQL stands for “My
Structured Query Language”. The program runs as a server
providing multi-user access to a number of database.
USES:
SQL is used in web applications and acts as a database
component of the LAMP software stack. Its popularity for
use with web applications is closely tied to the popularity
of PHP, which is often combined with SQL. Several high
traffic websites (including Flickr, Facebook, Wikipedia,
Google, Nokia and Youtube) use SQL for data storage and
logging of user data.
FEATURES:
A broad subset of ANSI SQL 99, as well as extension
Cross-platform support.
Stored procedures.
Triggers.
Cursors.
Strict mode.
Updatable views.