Project
Project
ON
BEAUTY PARLOUR
WEBSITE
Submitted by:
NAME OF THE STUDENT: ROLL NO:
USHA 232580800059
MOHIT 232580800022
PRATI 232580800033
TANIYA 232580800057
CREATIVE NETWORKS
Add: Near Ambedkar Chowk, Ratia Road, Tohana, Haryana.
DECLARATION
I am a student of Computer Science Diploma, session: 2023-2026 in your college.
We hereby declare that the work presented in this project is the outcome of our bona
fide word and is correct to the best of our knowledge and this work has been
undertaken taking care of Engineering Ethics. It contains no material previously
published or written by another person nor material which has been accepted for the
award of any other degree or diploma of the university or other institute of higher
learning, except where due acknowledgment has been made in the text.
1.1 Objective
Minimum RAM:1GB
Hard Disk:-128GB
Processor:-Intel Dual Core(1.50GHZ)Or above
2. SOFTWARE REQUIREMENTS
Operating System:- Windows 8,windows 10
Front End Languages:-HTML,CSS,JAVASCRIPT
Editor:-Notepad, Subline Text, Visual Studio Code (VS code)
3 PROJECT DESCRIPTION
HTML
HTML tutorial or HTML 5 tutorial provides basic and advanced concepts of HTML. Our
HTML tutorial is developed for beginners and professionals. In our tutorial, every topic is
given step-by-step so that you can learn it in a very easy way. If you are new in learning
HTML, then you can learn HTML from basic to a professional level and after learning
HTML with CSS and JavaScript you will be able to create your own interactive and
dynamic website. But Now We will focus on HTML only in this tutorial.
What is HTML
HTML is an acronym which stands for Hyper Text Markup Language which is used for
creating web pages and web applications. Let's see what is meant by Hypertext Markup
Language, and Web page.
Hyper Text: Hypertext simply means "Text within Text." A text has a link within it, is a
hypertext. Whenever you click on a link which brings you to a new webpage, you have
clicked on a hypertext. Hypertext is a way to link two or more web pages (HTML
documents) with each other.
Web Page: A web page is a document which is commonly written in HTML and translated
by a web browser. A web page can be identified by entering an URL. A Web page can be
of the static or dynamic type. With the help of HTML only, we can create static web
pages.
HTML Tags
HTML tags are like keywords which defines that how web browser will format and display
the content. With the help of tags, a web browser can distinguish between an HTML
content and a simple content. HTML tags contain three main parts: opening tag, content
and closing tag. But some HTML tags are unclosed tags.
When a web browser reads an HTML document, browser reads it from top to bottom and
left to right. HTML tags are used to create HTML documents and render their properties.
Each HTML tags have different properties.
An HTML file must have some essential tags so that web browser can differentiate
between a simple text and HTML text. You can use as many tags you want as per your
code requirement.
o All HTML tags must enclosed within < > these brackets.
o Every tag in HTML perform different tasks.
o If you have used an open tag <tag>, then you must use a close tag </tag> (except
some tags)
Syntax
<Tag> content </tag>
HTML Attribute
o HTML attributes are special words which provide additional information about the
elements or attributes are the modifier of the HTML element.
o Each element or tag can have attributes, which defines the behavior of that element.
o Attributes should always be applied with start tag.
o The Attribute should always be applied with its name and value pair.
o The Attributes name and values are case sensitive, and it is recommended by W3C
that it should be written in Lowercase only.
o You can add multiple attributes in one HTML element, but need to give space between
two attributes.
Syntax
1. <element attribute_name="value">content</element>
HTML Elements
An HTML file is made of elements. These elements are responsible for creating web pages
and define content in that webpage. An element in HTML usually consist of a start tag
<tag name>, close tag </tag name> and content inserted between them. Technically, an
element is a collection of start tag, attributes, end tag, content between them.
Example
1. <!DOCTYPE html>
2. <html>
3. <head>
4. <title>WebPage</title>
5. </head>
6. <body>
7. <h1>This is my first web page</h1>
8. <h2> How it looks?</h2>
9. <p>It looks Nice!!!!!</p>
10. </body>
11. </html>
HTML Formatting
HTML Formatting is a process of formatting text for better look and feel. HTML provides
us ability to format text without using CSS. There are many formatting tags in HTML.
These tags are used to make text bold, italicized, or underlined. There are almost 14
options available that how text appears in HTML and XHTML.
o Physical tag: These tags are used to provide the visual appearance to the text.
o Logical tag: These tags are used to add some logical or semantic value to the text.
Element name Description
We can create a table to display data in tabular form, using <table> element, with the help
of <tr> , <td>, and <th> elements.
In Each table, table row is defined by <tr> tag, table header is defined by <th>, and table
data is defined by <td> tags.
HTML tables are used to manage the layout of the page e.g. header section, navigation
bar, body content, footer section etc. But it is recommended to use div tag over table to
manage the layout of the page .
HTML Table
CSS
CSS Tutorial
CSS tutorial or CSS 3 tutorial provides basic and advanced concepts of CSS technology.
Our CSS tutorial is developed for beginners and professionals. The major points of CSS
are given below:
What is CSS?
CSS stands for Cascading style sheets. It describes to the user how to display HTML
elements on the screen in a proper format. CSS is the language that is used to style HTML
documents. In simple words, cascading style sheets are a language used to simplify the
process of making a webpage.
CSS is used to handle some parts of the webpage. With the help of CSS, we can control
the colour of text and style of fonts, and we can control the spacing between the paragraph
and many more things. CSS is easy to understand but provides strong control on the Html
documents.CSS is combined with HTML.
Advantages of CSS
Here are the following advantages of CSS, such as:
o Faster page speed: It has a faster page speed than other code's page speeds.
With the help of the CSS rule, we can apply it to all occurrences of certain tags
in HTML documents.
o Better user experience: CSS makes a webpage very attractive to the eyes.
Also, CSS makes it user-friendly. When the button or text is in a proper format,
it improves the user experience.
o Quicker Development time: With the help of CSS, we can specify the format
and style the multiple pages into one code string. In cascading style sheet, we
can make a duplicate copy of several website pages.
If we make a webpage, it has the same formatting, looks, and feel, so with the
help of the CSS rule for one page, and it is sufficient for all the pages.
o Easy Formatting changes: In CSS, if we need to make changes in the format,
it is very easy; we only need to change the one-page format it will automatically
apply to the other pages of CSS.
There is no need to correct individual pages in a CSS style sheet. If we fix a
CSS style sheet, it will automatically update the other CSS style sheet.
o Compatibility: Compatibility is very important in today's age. If we create any
webpage, it should be very responsive and user-friendly. CSS is used with Html
to make webpage design responsive.
Types of CSS
There are three types of CSS:
1. Inline CSS
Inline CSS is used to style the elements of HTML documents. It is used in HTML to style
the attributes without using the selectors. It is challenging to manage the inline function in
websites compared to other types. It is very helpful in Html in some situations.
2. Internal CSS
Internal CSS is used to design the style single page effectively. It is more time-consuming
because we can only work on one page or we need to style each web page. In internal
CSS, we style a single webpage uniquely.
1. <!DOCTYPE html>
2. <html lang="en">
3. <head>
4. <meta charset="UTF-8" />
5. <meta http-equiv="X-UA-Compatible" content="IE=edge" />
6. <meta name="viewport" content="width=device-width, initial-scale=1.0" />
7. <style>
8. body {
9. background-color: black;
10. }
11. h1 {
12. color: mediumvioletred;
13. }
14. h2 {
15. color: powder blue;
16. }
17. </style>
18. </head>
19. <body>
20. <h1>Welcome!!</h1>
21. <h2>Good Morning!</h2>
22. </body>
23. </html>
3. External CSS
External CSS is used to link all webpage with an external file. CSS, which can be created
in a text file. It is more efficient for styling an extensive webpage. It also increases the
readability of the CSS files.
Syntax:
1. <head>
2. //if the CSS file is in another folder, then
3. //the href must contain the path to the file
4. <link rel="stylesheet" href="nameOfTheSheet.css">
5. </head>
CSS Selector
CSS selectors are used to select the content you want to style. Selectors are the part of
CSS rule set. CSS selectors select HTML elements according to its id, class, type,
attribute etc.
2) CSS Id Selector
The id selector selects the id attribute of an HTML element to select a specific element.
An id is always unique within the page so it is chosen to select a single, unique element.
It is written with the hash character (#), followed by the id of the element.
Grouping selector is used to minimize the code. Commas are used to separate each
selector in grouping.
JAVASCRIPT
JavaScript Tutorial
Our JavaScript Tutorial is designed for beginners and professionals both. JavaScript is
used to create client-side dynamic pages.
What is JavaScript
JavaScript (js) is a light-weight object-oriented programming language which is used by
several websites for scripting the webpages. It is an interpreted, full-fledged programming
language that enables dynamic interactivity on websites when applied to an HTML
document. It was introduced in the year 1995 for adding programs to the webpages in the
Netscape Navigator browser. Since then, it has been adopted by all other graphical web
browsers. With JavaScript, users can build modern web applications to interact directly
without reloading the page every time. The traditional website uses js to provide several
forms of interactivity and simplicity.
JavaScript Example
Javascript example is easy to code. JavaScript provides 3 places to put the JavaScript
code: within body tag, within head tag and external JavaScript file.
1. <script type="text/javascript">
2. document.write("JavaScript is a simple language for javatpoint learners");
3. </script>
It provides code re usability because single JavaScript file can be used in several html
pages.
1. The stealer may download the coder's code using the url of the js file.
2. If two js files are dependent on one another, then a failure in one file may affect the
execution of the other dependent file.
3. The web browser needs to make an additional http request to get the js code.
4. A tiny to a large change in the js code may cause unexpected results in all its dependent
files.
5. We need to check each file that depends on the commonly created external javascript file.
6. If it is a few lines of code, then better to implement the internal javascript code.
JavaScript Variable
A JavaScript variable is simply a name of storage location. There are two types of
variables in JavaScript : local variable and global variable.
There are some rules while declaring a JavaScript variable (also known as identifiers).
1. <script>
2. var data=200;//gloabal variable
3. function a(){
4. document.writeln(data);
5. }
6. function b(){
7. document.writeln(data);
8. }
9. a();//calling JavaScript function
10. b();
11. </script>
JavaScript is a dynamic type language, means you don't need to specify type of the
variable because it is dynamically used by JavaScript engine. You need to use var here
to specify the data type. It can hold any type of values such as numbers, strings etc. For
example:
JavaScript Operators
JavaScript operators are symbols that are used to perform operations on operands. For
example:
1. var sum=10+20;
Here, + is the arithmetic operator and = is the assignment operator.
1. Arithmetic Operators
2. Comparison (Relational) Operators
3. Bitwise Operators
4. Logical Operators
5. Assignment Operators
6. Special Operators
JavaScript Functions
JavaScript functions are used to perform operations. We can call JavaScript function
many times to reuse the code.
1. Code reusability: We can call a function several times in a script to perform their tasks so
it saves coding.
2. Less coding: It makes our program compact. We don't need to write many lines of code
each time to perform a common task.
function closeNav() {
document.getElementById("mySidenav").style.width = "0";
}
</script>
</body>
</html>