WT Unit 3
WT Unit 3
Unit: 3
Deepshikha WT unit- 3
1
7/23/2023
Table of Contents
1. Name of Subject with code, Course and Subject Teacher
2. Brief Introduction of Faculty member with Photograph
3. Evaluation Scheme
4. Subject Syllabus
5. Branch wise Applications
6. Course Objective (Point wise)
7. Course Outcomes (COs)
8. Program Outcomes only heading (POs)
9. COs and POs Mapping
10.Program Specific Outcomes (PSOs)
JavaScript Essentials: Introduction to Java Script , Java script Types , Var, Let
and Const Keywords, Operators in JS , Conditions Statements , Java Script
Loops, JS Popup Boxes , JS Events , JS Arrays, Working with Arrays, JS
Objects ,JS Functions , Using Java Script in Real time , Validation of Forms,
Arrow functions and default arguments, Template Strings, Strings methods,
Callback functions,
Object de-structuring, Spread and Rest Operator, Typescript fundamentals,
Typescript OOPs- Classes, Interfaces, Constructor etc. Decorator and Spread
Operator,
Difference == & ===, Asynchronous Programming in ES6, Promise
Constructor, Promise with Chain, Promise Race.
Text books:
1. Steven M. Schafer, “HTML, XHTML, and CSS Bible, 5ed”, Wiley India
2. Ian Pouncey, Richard York, “Beginning CSS: Cascading Style Sheets for Web
Design”, Wiley India
Sample Applications
Desktop GUI Applications
Mobile Applications
Enterprise Applications
Scientific Applications
Web-based Applications
Cloud-based Applications
Web servers and Application servers
Software Tools
1. Engineering knowledge:
2. Problem analysis:
3. Design/development of solutions:
4. Conduct investigations of complex problems:
5. Modern tool usage:
6. The engineer and society:
7. Environment and sustainability:
8. Ethics:
9. Individual and team work:
10. Communication:
11. Project management and finance:
12. Life-long learning
7/23/2023 Deepshikha WT unit- 3 16
CO-PO Mapping
Mapping of Course Outcomes and Program Outcomes:
PO1 PO2 PO3 PO4 PO5 PO6 PO7 PO8 PO9 PO10 PO11 PO12
ACSE0505 3 2 2 1 1 1 1 1 3 3 2 3
1.1
ACSE0505 3 2 3 1 3 2 2 1 3 3 3 3
1.2
ACSE0505
1.3 3 2 3 2 3 2 2 2 3 3 2 3
ACSE0505
1.4 3 3 3 2 3 2 2 2 3 3 2 3
ACSE0505
1.5 3 3 3 2 3 2 2 2 3 3 2 3
CO1 3 3 2 3
CO2 3 3 3 2
CO3 3 3 2 2
CO4 3 2 3 2
CO5 3 2 2 2
B TECH
(SEM-V) THEORY EXAMINATION 20__-20__
Time: 3 Hours Total
Marks: 100
Note: 1. Attempt all Sections. If require any missing data; then choose
suitably.
SECTION A
1. Attempt all questions in brief. 1 x 10 =
10
Q.No. Question Marks CO
1 1
2 1
. .
10 1
SECTION B
3. Attempt any five part of the following: 5 x 6 = 30
1 6
. 6
7 6
7/23/2023 Deepshikha WT unit- 3 23
End Semester Question Paper Templates
1 10
2 10
5. Attempt any one part of the following: 1 x 10 = 10
Q.No. Question Marks CO
1 10
2 10
1 10
2 10
1 10
2 10
Objective of Unit 3:
• To learn about web development strategies with Creating style sheet,
Creating Properties
• To understand the basic concepts to develop the Working with block
elements and objects.
• To understand Bootstrapping and Bootstrapping Components.
• To understand to register a domain and maintain CSS Style Sheet.
•To get the knowledge about the CSS Style and Tools.
Java Script is used insert dynamic text into HTML (ex: user
name)
Java script offers a vast standard library that has a wide variety
of functions and methods available to help in the process of
development, making the entire process easier and hassle-free
+ =
Variables:-
same operators: + - * / % ++ -- = += -= *= /= %=
7/23/2023 Deepshikha WT 3 37
Concept of CSS 3: Creating Style Sheet
7/23/2023 Deepshikha WT 3 38
Concept of CSS 3:CSS Properties
methods: abs, ceil, cos, floor, log, max, min, pow, random, round, sin,
sqrt, tan
properties: E, PI
7/23/2023 Deepshikha WT 3 39
Concept of CSS 3:CSS Properties
Deepshikha WT unit- 3
7/23/2023 41
Concept of CSS 3:CSS Properties
Q1. Which of the following is NOT a method of creating a style sheet in web
technology?
(A) Inline styles
(b) Internal styles
© External styles
(d) Embedded styles
Q2.What is the purpose of using CSS classes in a style sheet?
(a) To define styles for HTML elements that share the same class attribute
(b) To define styles for the entire HTML document.
(C) To link external style sheets
(d) To create inline styles for specific elements.
Q3.How can you add comments in a CSS file ?
(A) /* This is a comment */
(b) <!-- This is a comment -->
© // This is a comment
(D) <!--- This is a comment --->
7/23/2023 51
Deepshikha WT Unit-3
Concept of CSS 3:CSS Styling
7/2/2023 52
Deepshikha WT Unit-3
Concept of CSS 3:CSS Styling
7/23/2023 53
Depshikha WT Unit-3
Concept of CSS 3:CSS Styling
You can assign your own event handler functions to HTML elements
Computed
value
of font-
size
property
Deepshikha WT unit- 3
6723/2023 59
Concept of CSS 3:CSS Styling
Deepshikha WT unit- 3
7/23/2023 60
Concept of CSS 3:CSS Styling
Deepshikha WT unit- 3
7/23/2023 61
Concept of CSS 3:CSS Styling
Deepshikha WT unit- 3
7/23/2023 62
Concept of CSS 3:CSS Styling
• Inheritance of line-height:
– Specified value if normal or unit-less number
– Computed value otherwise
Deepshikha WT unit- 3
7/23/2023 63
Concept of CSS 3:CSS Styling
Deepshikha WT unit- 3
7/23/2023 64
Concept of CSS 3:CSS Styling
any order
Deepshikha WT unit- 3
7/23/2023 65
Concept of CSS 3:CSS Styling
Deepshikha WT unit- 3
7/23/2023 66
Concept of CSS 3:CSS Styling
Deepshikha WT unit- 3
7/23/2023 67
Concept of CSS 3:CSS Styling
Deepshikha WT unit- 3
7/23/2023 68
Concept of CSS 3:CSS Styling
Deepshikha WT unit- 3
7/23/2023 69
Concept of CSS 3:CSS Box Model
Deepshikha WT unit- 3
7/23/2023 70
Concept of CSS 3:CSS Box Model
Deepshikha WT unit- 3
7/23/2023 71
Concept of CSS 3:CSS Box Model
Deepshikha WT unit- 3
7/23/2023 72
Concept of CSS 3:CSS Box Model
Deepshikha WT unit- 3
7/23/2023 73
Concept of CSS 3:CSS Box Model
Deepshikha WT unit- 3
7/23/2023 74
Concept of CSS 3:CSS Box Model
Deepshikha WT unit- 3
7/23/2023 75
Concept of CSS 3:CSS Box Model
Deepshikha WT unit- 3
7/23/2023 76
Concept of CSS 3:CSS Box Model
Deepshikha WT unit- 3
7/23/2023 77
Using the <style> element within the HTML file
Using the <style> element within the HTML file
Daily Quiz
Q 1 Which of the following options correctly describes the usage of CSS styles in web technology?
a) CSS is used to structure the content of a web page, such as defining headings, paragraphs, and lists .
b) CSS is used to add interactivity and dynamic behavior to a web page, such as handling user interactions and
form validations
c) CSS is used to define the layout and presentation of a web page, such as setting colors, fonts, and spacing
d) CSS is used to define the server-side logic and database connections for a web application
Q 2 Which CSS property is used to change the text color of an element?
e) text-color
f) color
g) font-color
h) text style
Q 3 How can you apply external CSS styles to an HTML document?
i) Using the ‘<style>’ element within the HTML file.
j) Using the ‘style’ attribute in HTML tags.
k) Using the’link’ element with the ‘rel’ attribute set to ‘stylesheet’.
l) Using the ‘css’ in the head section of the HTML file.
d) the space between an element's border and its parent container on all sides .
Q 20 The "margin" property in CSS is used for:
c) adding space between an element's content and its border.
b) setting the width of an element's border.
c) positioning an element within its parent container.
d) adding space between an element and its neighboring elements.
7/23/2023 Deepshikha WT unit- 3 82
Concept of CSS 3:CSS Advanced(Grouping styles)
You can give the same properties to a number of selectors without having to repeat them
by separating the selectors by commas. It is a useful thing for reducing file size.
Example
h2
{
color: red;
}
.thisOtherClass
{
color: red;
}
.yetAnotherClass
{ color: red; }
If the CSS is structured well, there shouldn't be a need to use many class or ID selectors.
This is because you can specify properties to selectors within other selectors.
a[href $='.pdf'] {
padding-right: 18px;
background: transparent url(icon_pdf.gif) no-repeat center
right;
}
This would attach a pdf icon to the right of any hyperlink who's
URL ended in '.pdf' like this. This was pretty exciting and heady
stuff. It meant I could show the file type visually with that
application's icon just by including a few lines in my master css file.
I didn't have to worry about it at all in my html, css would add the
icon for me automatically.
.ie .example {
background-color: yellow
}
.gecko .example {
background-color: gray
}
.opera .example {
background-color: green
}
.konqueror .example {
background-color: blue
}
.webkit .example {
background-color: black
}
.example {
width: 100px;
height: 100px;
background-color: brown;
}
• Mobile –First approach: In Bootstrap 3, mobile first styles are part of the core
framework.
Bootstrap Components
Bootstrap.css
This is the basic Bootstrap package that you will need to download. CSS is a style
sheet language for static information.
Bootstrap.js
A JavaScript/JQuery library that powers up certain components of Bootstrap such
as animation, scrolling, and interactivity.
Glyphicons
Glyphs are elemental symbols with typography, such as the English Pound symbol
(£). Bootstrap has a huge list of embedded glyph icons that are available for free.
Q 15 Which Bootstrap plugin allows you to create modal dialogs with custom
content?
a) Modal
b) Popover
c) Dropdown
d) Collapse
a) 6
b) 9
c) 12
d) 15
Q 17 Which CSS classes are used to create a row in the Bootstrap grid system?
a) .row
b) .container
c) .col
d) .grid
Q 18 What class is used to make an element visible only on small devices
in Bootstrap?
a) .hidden-md
b) .visible-sm
c) .hidden-xs
d) .visible-md
• Ivan Bayross,” HTML, DHTML, Java Script, Perl & CGI”, BPB Publication
Unit 1
https://youtu.be/96xF9phMsWA
https://youtu.be/Zopo5C79m2k
https://youtu.be/ZliIs7jHi1s
https://youtu.be/htbY9-yggB0
Unit 2
https://youtu.be/vHmUVQKXlVo
https://youtu.be/qz0aGYrrlhU
Unit 3
https://youtu.be/1Rs2ND1ryYc
Unit 4
https://youtu.be/-qfEOE4vtxE
https://youtu.be/PkZNo7MFNFg
Unit 5
https://youtu.be/_GMEqhUyyFM
Deepshikha WT unit- 3
7/23/2023 125