WT Unit 1 IMP Bat Notes
WT Unit 1 IMP Bat Notes
It is the infrastructure that allows data to be exchanged globally through Communication between clients and servers is done by requests and responses: <title>Simple Form</title>
standardized protocols.
1. A client (a browser) sends an HTTP request to the web </head>
It includes various services, such as email, file transfer (FTP), and the World 2. A web server receives the request
Wide Web (WWW). 3. The server runs an application to process the request <body>
4. The server returns an HTTP response (output) to the browser
5. The client (the browser) receives the response
World Wide Web (WWW):
<form>
The client (the browser) receives the response
The World Wide Web is a subset of the Internet and is often used with the
term "web." <label for="username">Username:</label>
3]Web Clients and Servers:
It is a system of interlinked hypertext documents accessed via the Internet.
Web Clients: Software applications or devices that access web content.
<input type="text" id="username" name="username"
The WWW is a way of presenting and accessing information through web required><br>
Examples include web browsers.
pages using technologies like HTTP and HTML.
Web Servers: Software that serves requested web pages to clients.
<label for="password">Password:</label>
ii) HTML Heading Tags:
They respond to HTTP requests. <input type="password" id="password" name="password"
In HTML, heading tags are used to define headings or titles within a document. required><br>
Headings are important for structuring content hierarchically. HTML provides six 4]HTML (HyperText Markup Language):
levels of headings, from `<h1>` to `<h6>`, where `<h1>` is the highest level (most <label><input type="checkbox" id="rememberMe"
important) and `<h6>` is the lowest level. HTML is the standard markup language for creating web pages.
name="rememberMe"> Remember me</label><br>
Here is the syntax for HTML heading tags: It defines the structure and layout of a web document.
<label>Gender:
<h1>to <h6> HTML Elements: Building blocks of HTML documents, such as headings, paragraphs, line
breaks, links, images, tables, forms, etc. <input type="radio" id="male" name="gender" value="male"
html
HTML Versions: HTML has evolved, with HTML5 being the latest version. required> Male
<h1>This is a Heading 1</h1>
It introduces new elements and attributes for enhanced web development <input type="radio" id="female" name="gender"
<h2>This is a Heading 2</h2>
value="female" required> Female
1 2 3
it is not fast , flexible , and efficient as It is efficient, flexible and more fast in
compared to HTML5. comparison to HTML.
4 5 6
Internal - An internal CSS is used to define a style for a single HTML page. External – An external style sheet is used to define the style for many HTML pages. 8] what is Css Inheritance
<style> element in used in the <head> section for implementing internal css. <link> element is used to link to an external CSS file Inheritance in CSS refers to the process by which certain properties of a parent element
are passed down to its child elements
Example : Example :
Example :
<!DOCTYPE html> <!DOCTYPE html>
<html> <html>
<!DOCTYPE html>
<head> <head>
<html>
<link rel="stylesheet" href="mystyle.css"> <link rel="stylesheet" href="mystyle.css">
<head>
</head> </head>
<style>
<body> <body>
h1 {
<h1>This is a heading</h1> <h1>This is a heading</h1>
color: blue;
<p>This is a paragraph.</p> <p>This is a paragraph.</p>
font-family: verdana;
</body> </body>
font-size: 300%;
</html> </html>
}
External CCS File : "mystyle.css"
p{
body {
background-color: lightblue; color: red;
Output : }
font-family: courier;
h1 {
color: navy; font-size: 160%;
margin-left: 20px;
} }
Output : </style>
</head>
<body>
<h1>This is a heading</h1>
<p>This is a paragraph.</p>
7 8 9
</body></html> Bootstrap
Output : Bootstrap is the most popular HTML, CSS, and JavaScript framework for
developing responsive, mobile-first websites.
Bootstrap is completely free to download and use
Bootstrap includes a wide range of pre-styled UI components such as
buttons, forms, navigation bars, alert boxes, modals, carousels, and more.
Bootstrap provides a set of styles for typography
Bootstrap comes with a variety of CSS and JavaScript plugins that
enhance the functionality and appearance of elements
Bootstrap is designed to be compatible with various web browsers
Features of CSS
CSS allows you to select and target HTML elements using selectors. ***
CSS allows you to set colors for text and backgrounds using various color
models (hex, RGB, HSL). You can also set background images and control
their positioning and repetition.
CSS provides control over typography, including font size, font family, font
weight, line height, and text alignment.
A great alternative to Bootstrap.
I AM BATMAN
10 11