SlideShare a Scribd company logo
2
AGENDA
What is HTML?
Difference between HTML4 & HTML5
HTML5 Structure
What is CSS and Why it is used for?
CSS Selector & Syntax
Box Model
CSS Units
JavaScript (types of functions)
Information Technology
DURING TRAINING PROGRAM - WEEKLY PRESENTATION
Most read
10
CSS Selector & Syntax (Continue..)
CSS Syntax:
Selector{
Property : Value;
…
...
}
Information Technology
(Source: w3schools.com)
DURING TRAINING PROGRAM - WEEKLY PRESENTATION
Most read
17
JavaScript (Continue...)
Regular Functions:
function sum(a, b){
return a + b;
}
sum(5, 6);
Information Technology
DURING TRAINING PROGRAM - WEEKLY PRESENTATION
Anonymous Functions:
const myFunctionVar =
function(){
return typeof variable;
};
myFunctionVar;
IIFE
Immediately-Invoked
Function Expression
(function(){
statements;
})();
Most read
WEEKLY PRESENTATION
DURING TRAINING PROGRAM
- Devang Garach
devanggarach.rao@gmail.com
WEEK-3
Information Technology
AGENDA
What is HTML?
Difference between HTML4 & HTML5
HTML5 Structure
What is CSS and Why it is used for?
CSS Selector & Syntax
Box Model
CSS Units
JavaScript (types of functions)
Information Technology
DURING TRAINING PROGRAM - WEEKLY PRESENTATION
What is HTML?
HTML Stands for Hyper-Text Markup Language
Hypertext Markup Language (HTML) is the standard markup language for
documents designed to be displayed in a web browser. It can be assisted by
technologies such as Cascading Style Sheets (CSS) and scripting languages such
as JavaScript.
Information Technology
DURING TRAINING PROGRAM - WEEKLY PRESENTATION
Difference between HTML4 & HTML5
Information Technology
HTML4 HTML5
HTML4 released in 1997 (source wikipedia.com) HTML5 released in 2014 (source wikipedia.com)
Elements like nav, header, footer not their New semantic element for web structure
like nav, header, footer etc.
It didn’t support audio and video without
the use of flash player support.
It supports audio and video controls with
the use of <audio> and <video> tags.
Vector graphics is possible in HTML with
the help of various technologies such as
VML, Silver-light, Flash, etc.
Vector graphics is additionally an integral
a part of HTML5 like SVG and canvas.
DURING TRAINING PROGRAM - WEEKLY PRESENTATION
Difference between HTML4 & HTML5 (Continue...)
Information Technology
HTML4 HTML5
It does not allow drag and drop effects. It allows drag and drop effects.
Doctype declaration is too long and
complicated.
Doctype declaration is quite simple and
easy.
Older version of HTML are less
mobile-friendly.
HTML5 language is more mobile-friendly.
DURING TRAINING PROGRAM - WEEKLY PRESENTATION
Difference between HTML4 & HTML5 (Continue...)
Information Technology
HTML4 HTML5
Removed tags in HTML5 which are n
HTML4
<acronym>,<applet>,<basefont>,<big>,
<center>,<font>,<frame>,<frameset>,
<noframe>,<strike>, ...
New Tags
<article>,<aside>,<audio>,<bdl>,
<canvas>,<datalist>,<details>,
<figcaption>,<footer>,<header>,<main>,
<progress>,<section>,<summary>,
<time>, <video>, ...
DURING TRAINING PROGRAM - WEEKLY PRESENTATION
HTML5 Structure
<!DOCTYPE HTML>
<html lang=”en”>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title>Your Website</title>
</head>
<body>
<header>
<nav>
<ul>
<li>Your menu</li>
</ul>
</nav>
</header>
<section>
<article>
<header>
<h2>Article title</h2>
<p>Posted on <time datetime="2009-09-04T16:31:24+02:00">September 4th 2009</time> by <a href="#">Writer</a>
</header>
<p>Content</p>
</article>
</section>
<aside>
<h2>About section</h2>
<p>Donec eu libero sit amet quam egestas semper. Aenean ultricies mi vitae est. Mauris placerat eleifend leo.</p>
</aside>
<footer> <p>Copyright 2009 Your name</p> </footer>
</body>
</html>
Information Technology
DURING TRAINING PROGRAM - WEEKLY PRESENTATION
What is CSS and Why it is used for?
CSS Stands for Cascading Style Sheets
It used for describing the presentation of a document written in a markup language
such as HTML.
CSS is a cornerstone technology of the World Wide Web, alongside HTML and
JavaScript.
CSS describes how HTML elements are to be displayed on screen, paper, or in
other media
CSS saves a lot of work. It can control the layout of multiple web pages all at once
Information Technology
DURING TRAINING PROGRAM - WEEKLY PRESENTATION
CSS Selector & Syntax
CSS selectors are used to "find" (or select) the HTML elements you want to
style.
We can divide CSS selectors into five categories:
- Simple selectors (select elements based on name, id, class)
- Combinator selectors (select elements based on a specific relationship
between them)
- Pseudo-class selectors (select elements based on a certain state)
- Pseudo-elements selectors (select and style a part of an element)
- Attribute selectors (select elements based on an attribute or attribute
value)
Information Technology
DURING TRAINING PROGRAM - WEEKLY PRESENTATION
CSS Selector & Syntax (Continue..)
CSS Syntax:
Selector{
Property : Value;
…
...
}
Information Technology
(Source: w3schools.com)
DURING TRAINING PROGRAM - WEEKLY PRESENTATION
CSS Selector & Syntax (Continue..)
CSS Combinators:
There are four different combinators in CSS:
- descendant selector (space)
- child selector (>)
- adjacent sibling selector (+)
- general sibling selector (~)
Information Technology
DURING TRAINING PROGRAM - WEEKLY PRESENTATION
Box Model
The CSS box model is essentially a box that wraps around every HTML
element. It consists of: margins, borders, padding, and the actual content.
The image below illustrates the box model:
Information Technology
(Source: w3schools.com)
DURING TRAINING PROGRAM - WEEKLY PRESENTATION
CSS Units
CSS has several different units for expressing a length.
Many CSS properties take "length" values, such as width, margin, padding,
font-size, etc.
Length is a number followed by a length unit, such as 10px, 2em, etc.
There are two types of length units, Absolute Length & Relative Length
Information Technology
DURING TRAINING PROGRAM - WEEKLY PRESENTATION
CSS Units (Continue...)
Absolute Length
The absolute length units are fixed and a length expressed in any of these will
appear as exactly that size.
Absolute length units are not recommended for use on screen, because screen
sizes vary so much. However, they can be used if the output medium is known,
such as for print layout.
Information Technology
cm (centimeters)
mm (millimeters)
px (pixels) 1px = 1/96th of 1in
in (inches) 1in = 96px = 2.54cm
pt (points) 1pt = 1/72 of 1in
pc (picas) 1pc = 12 pt
DURING TRAINING PROGRAM - WEEKLY PRESENTATION
CSS Units (Continue...)
Relative Length
Relative length units specify a length relative to another length property.
Relative length units scales better between different rendering mediums.
Information Technology
em
rem
vm
vh
%
Relative to the font-size of the element (2em means 2 times the size of the current font)
Relative to font-size of the root element
Relative to 1% of the width of the viewport*
Relative to 1% of the height of the viewport*
Relative to the parent element
DURING TRAINING PROGRAM - WEEKLY PRESENTATION
JavaScript
JavaScript is a lightweight interpreted programming language. The web
browser receives the JavaScript code in its original text form and runs the
script from that.
Many types of function declaration in JavaScript:
Regular Function | Anonymous Function | IIFE | Callback Function | Arrow
Function
Information Technology
DURING TRAINING PROGRAM - WEEKLY PRESENTATION
JavaScript (Continue...)
Regular Functions:
function sum(a, b){
return a + b;
}
sum(5, 6);
Information Technology
DURING TRAINING PROGRAM - WEEKLY PRESENTATION
Anonymous Functions:
const myFunctionVar =
function(){
return typeof variable;
};
myFunctionVar;
IIFE
Immediately-Invoked
Function Expression
(function(){
statements;
})();
JavaScript (Continue...)
Arrow Functions:
const absValue = (number) =>
{
if (number < 0){
return -number;
}
return number;
}
Information Technology
DURING TRAINING PROGRAM - WEEKLY PRESENTATION
Callback Functions:
function myDisplayer(some){
console.log(some);
}
function myCalc(n1, n2,myCallback){
let sum = n1 + n2;
myCallback(sum);
}
myCalc(5, 5, myDisplayer);
Information Technology
Thank You.
- Devang Garach
devanggarach.rao@gmail.com

More Related Content

What's hot (20)

Introduction of Html/css/js
Introduction of Html/css/jsIntroduction of Html/css/js
Introduction of Html/css/js
Knoldus Inc.
 
Intro to HTML and CSS basics
Intro to HTML and CSS basicsIntro to HTML and CSS basics
Intro to HTML and CSS basics
Eliran Eliassy
 
HTML
HTMLHTML
HTML
chinesebilli
 
Html, CSS & Web Designing
Html, CSS & Web DesigningHtml, CSS & Web Designing
Html, CSS & Web Designing
Leslie Steele
 
HTML CSS Basics
HTML CSS BasicsHTML CSS Basics
HTML CSS Basics
Mai Moustafa
 
CSS
CSSCSS
CSS
People Strategists
 
Java Script ppt
Java Script pptJava Script ppt
Java Script ppt
Priya Goyal
 
An Overview of HTML, CSS & Java Script
An Overview of HTML, CSS & Java ScriptAn Overview of HTML, CSS & Java Script
An Overview of HTML, CSS & Java Script
Fahim Abdullah
 
Ppt of web development
Ppt of web developmentPpt of web development
Ppt of web development
bethanygfair
 
Web Development
Web DevelopmentWeb Development
Web Development
Lena Petsenchuk
 
Html ppt
Html pptHtml ppt
Html ppt
Ruchi Kumari
 
Html
HtmlHtml
Html
irshadahamed
 
JavaScript - Chapter 12 - Document Object Model
  JavaScript - Chapter 12 - Document Object Model  JavaScript - Chapter 12 - Document Object Model
JavaScript - Chapter 12 - Document Object Model
WebStackAcademy
 
Html / CSS Presentation
Html / CSS PresentationHtml / CSS Presentation
Html / CSS Presentation
Shawn Calvert
 
Html notes
Html notesHtml notes
Html notes
Ismail Mukiibi
 
Lab #2: Introduction to Javascript
Lab #2: Introduction to JavascriptLab #2: Introduction to Javascript
Lab #2: Introduction to Javascript
Walid Ashraf
 
Cascading Style Sheets (CSS) help
Cascading Style Sheets (CSS) helpCascading Style Sheets (CSS) help
Cascading Style Sheets (CSS) help
casestudyhelp
 
HTML, CSS And JAVASCRIPT!
HTML, CSS And JAVASCRIPT!HTML, CSS And JAVASCRIPT!
HTML, CSS And JAVASCRIPT!
Syahmi RH
 
html complete notes
html complete noteshtml complete notes
html complete notes
onactiontv
 
Web Development using HTML & CSS
Web Development using HTML & CSSWeb Development using HTML & CSS
Web Development using HTML & CSS
Shashank Skills Academy
 
Introduction of Html/css/js
Introduction of Html/css/jsIntroduction of Html/css/js
Introduction of Html/css/js
Knoldus Inc.
 
Intro to HTML and CSS basics
Intro to HTML and CSS basicsIntro to HTML and CSS basics
Intro to HTML and CSS basics
Eliran Eliassy
 
Html, CSS & Web Designing
Html, CSS & Web DesigningHtml, CSS & Web Designing
Html, CSS & Web Designing
Leslie Steele
 
An Overview of HTML, CSS & Java Script
An Overview of HTML, CSS & Java ScriptAn Overview of HTML, CSS & Java Script
An Overview of HTML, CSS & Java Script
Fahim Abdullah
 
Ppt of web development
Ppt of web developmentPpt of web development
Ppt of web development
bethanygfair
 
JavaScript - Chapter 12 - Document Object Model
  JavaScript - Chapter 12 - Document Object Model  JavaScript - Chapter 12 - Document Object Model
JavaScript - Chapter 12 - Document Object Model
WebStackAcademy
 
Html / CSS Presentation
Html / CSS PresentationHtml / CSS Presentation
Html / CSS Presentation
Shawn Calvert
 
Lab #2: Introduction to Javascript
Lab #2: Introduction to JavascriptLab #2: Introduction to Javascript
Lab #2: Introduction to Javascript
Walid Ashraf
 
Cascading Style Sheets (CSS) help
Cascading Style Sheets (CSS) helpCascading Style Sheets (CSS) help
Cascading Style Sheets (CSS) help
casestudyhelp
 
HTML, CSS And JAVASCRIPT!
HTML, CSS And JAVASCRIPT!HTML, CSS And JAVASCRIPT!
HTML, CSS And JAVASCRIPT!
Syahmi RH
 
html complete notes
html complete noteshtml complete notes
html complete notes
onactiontv
 

Similar to Intro to HTML, CSS & JS - Internship Presentation Week-3 (20)

Html,CSS & UI/UX design
Html,CSS & UI/UX designHtml,CSS & UI/UX design
Html,CSS & UI/UX design
Karthikeyan Dhanasekaran CUA
 
WEBSITE DESIGN AND DEVELOPMENT WITH CASCADING STYLE SHEETS(CSS)
WEBSITE DESIGN AND DEVELOPMENT WITH CASCADING STYLE SHEETS(CSS)WEBSITE DESIGN AND DEVELOPMENT WITH CASCADING STYLE SHEETS(CSS)
WEBSITE DESIGN AND DEVELOPMENT WITH CASCADING STYLE SHEETS(CSS)
brianbyamukama302
 
Introduction to Cascading Style Sheets .
Introduction to Cascading Style Sheets .Introduction to Cascading Style Sheets .
Introduction to Cascading Style Sheets .
monishedustu07
 
Html5 deciphered - designing concepts part 1
Html5 deciphered - designing concepts part 1Html5 deciphered - designing concepts part 1
Html5 deciphered - designing concepts part 1
Paxcel Technologies
 
1. Advanced Web Designing (12th IT) (1).pdf
1. Advanced Web Designing (12th IT) (1).pdf1. Advanced Web Designing (12th IT) (1).pdf
1. Advanced Web Designing (12th IT) (1).pdf
AAFREEN SHAIKH
 
Tech Winter Break'24 Workshop A hands-o
Tech Winter Break'24 Workshop  A hands-oTech Winter Break'24 Workshop  A hands-o
Tech Winter Break'24 Workshop A hands-o
ghatbandhechinmayi
 
Introduction to HTML+CSS+Javascript by Deepu.pptx
Introduction to HTML+CSS+Javascript by Deepu.pptxIntroduction to HTML+CSS+Javascript by Deepu.pptx
Introduction to HTML+CSS+Javascript by Deepu.pptx
deepuranjankumar08
 
GDI Seattle Intermediate HTML and CSS Class 1
GDI Seattle Intermediate HTML and CSS Class 1GDI Seattle Intermediate HTML and CSS Class 1
GDI Seattle Intermediate HTML and CSS Class 1
Heather Rock
 
Html-Prabakaran
Html-PrabakaranHtml-Prabakaran
Html-Prabakaran
DrPrabakaranPerumal
 
Introduction to HTML+CSS+Javascript.pptx
Introduction to HTML+CSS+Javascript.pptxIntroduction to HTML+CSS+Javascript.pptx
Introduction to HTML+CSS+Javascript.pptx
deepuranjankumar2002
 
wd project.pptx
wd project.pptxwd project.pptx
wd project.pptx
dsffsdf1
 
A practical guide to building websites with HTML5 & CSS3
A practical guide to building websites with HTML5 & CSS3A practical guide to building websites with HTML5 & CSS3
A practical guide to building websites with HTML5 & CSS3
Darren Wood
 
BSC notes of _HTML_Easyto understand lease see.pptx
BSC notes of _HTML_Easyto understand lease see.pptxBSC notes of _HTML_Easyto understand lease see.pptx
BSC notes of _HTML_Easyto understand lease see.pptx
VikasTuwar1
 
Rapid HTML Prototyping with Bootstrap 4
Rapid HTML Prototyping with Bootstrap 4Rapid HTML Prototyping with Bootstrap 4
Rapid HTML Prototyping with Bootstrap 4
UXPA International
 
Web Concepts - an introduction - introduction
Web Concepts - an introduction - introductionWeb Concepts - an introduction - introduction
Web Concepts - an introduction - introduction
clement swarnappa
 
SDP_-_Module_4.ppt
SDP_-_Module_4.pptSDP_-_Module_4.ppt
SDP_-_Module_4.ppt
ssuser568d77
 
Introduction to HTML+CSS+Javascript.pptx
Introduction to HTML+CSS+Javascript.pptxIntroduction to HTML+CSS+Javascript.pptx
Introduction to HTML+CSS+Javascript.pptx
KADAMBARIPUROHIT
 
Introduction to HTML+CSS+Javascript.pptx
Introduction to HTML+CSS+Javascript.pptxIntroduction to HTML+CSS+Javascript.pptx
Introduction to HTML+CSS+Javascript.pptx
AliRaza899305
 
INTRODUCTION CODING - THE HTML AND CSS.pptx
INTRODUCTION CODING - THE HTML AND CSS.pptxINTRODUCTION CODING - THE HTML AND CSS.pptx
INTRODUCTION CODING - THE HTML AND CSS.pptx
IvanPhilipMuez
 
Html & Html5 from scratch
Html & Html5 from scratchHtml & Html5 from scratch
Html & Html5 from scratch
Ahmad Al-ammar
 
WEBSITE DESIGN AND DEVELOPMENT WITH CASCADING STYLE SHEETS(CSS)
WEBSITE DESIGN AND DEVELOPMENT WITH CASCADING STYLE SHEETS(CSS)WEBSITE DESIGN AND DEVELOPMENT WITH CASCADING STYLE SHEETS(CSS)
WEBSITE DESIGN AND DEVELOPMENT WITH CASCADING STYLE SHEETS(CSS)
brianbyamukama302
 
Introduction to Cascading Style Sheets .
Introduction to Cascading Style Sheets .Introduction to Cascading Style Sheets .
Introduction to Cascading Style Sheets .
monishedustu07
 
Html5 deciphered - designing concepts part 1
Html5 deciphered - designing concepts part 1Html5 deciphered - designing concepts part 1
Html5 deciphered - designing concepts part 1
Paxcel Technologies
 
1. Advanced Web Designing (12th IT) (1).pdf
1. Advanced Web Designing (12th IT) (1).pdf1. Advanced Web Designing (12th IT) (1).pdf
1. Advanced Web Designing (12th IT) (1).pdf
AAFREEN SHAIKH
 
Tech Winter Break'24 Workshop A hands-o
Tech Winter Break'24 Workshop  A hands-oTech Winter Break'24 Workshop  A hands-o
Tech Winter Break'24 Workshop A hands-o
ghatbandhechinmayi
 
Introduction to HTML+CSS+Javascript by Deepu.pptx
Introduction to HTML+CSS+Javascript by Deepu.pptxIntroduction to HTML+CSS+Javascript by Deepu.pptx
Introduction to HTML+CSS+Javascript by Deepu.pptx
deepuranjankumar08
 
GDI Seattle Intermediate HTML and CSS Class 1
GDI Seattle Intermediate HTML and CSS Class 1GDI Seattle Intermediate HTML and CSS Class 1
GDI Seattle Intermediate HTML and CSS Class 1
Heather Rock
 
Introduction to HTML+CSS+Javascript.pptx
Introduction to HTML+CSS+Javascript.pptxIntroduction to HTML+CSS+Javascript.pptx
Introduction to HTML+CSS+Javascript.pptx
deepuranjankumar2002
 
wd project.pptx
wd project.pptxwd project.pptx
wd project.pptx
dsffsdf1
 
A practical guide to building websites with HTML5 & CSS3
A practical guide to building websites with HTML5 & CSS3A practical guide to building websites with HTML5 & CSS3
A practical guide to building websites with HTML5 & CSS3
Darren Wood
 
BSC notes of _HTML_Easyto understand lease see.pptx
BSC notes of _HTML_Easyto understand lease see.pptxBSC notes of _HTML_Easyto understand lease see.pptx
BSC notes of _HTML_Easyto understand lease see.pptx
VikasTuwar1
 
Rapid HTML Prototyping with Bootstrap 4
Rapid HTML Prototyping with Bootstrap 4Rapid HTML Prototyping with Bootstrap 4
Rapid HTML Prototyping with Bootstrap 4
UXPA International
 
Web Concepts - an introduction - introduction
Web Concepts - an introduction - introductionWeb Concepts - an introduction - introduction
Web Concepts - an introduction - introduction
clement swarnappa
 
SDP_-_Module_4.ppt
SDP_-_Module_4.pptSDP_-_Module_4.ppt
SDP_-_Module_4.ppt
ssuser568d77
 
Introduction to HTML+CSS+Javascript.pptx
Introduction to HTML+CSS+Javascript.pptxIntroduction to HTML+CSS+Javascript.pptx
Introduction to HTML+CSS+Javascript.pptx
KADAMBARIPUROHIT
 
Introduction to HTML+CSS+Javascript.pptx
Introduction to HTML+CSS+Javascript.pptxIntroduction to HTML+CSS+Javascript.pptx
Introduction to HTML+CSS+Javascript.pptx
AliRaza899305
 
INTRODUCTION CODING - THE HTML AND CSS.pptx
INTRODUCTION CODING - THE HTML AND CSS.pptxINTRODUCTION CODING - THE HTML AND CSS.pptx
INTRODUCTION CODING - THE HTML AND CSS.pptx
IvanPhilipMuez
 
Html & Html5 from scratch
Html & Html5 from scratchHtml & Html5 from scratch
Html & Html5 from scratch
Ahmad Al-ammar
 
Ad

More from Devang Garach (9)

AWS Concepts - Internship Presentation - week 10
AWS Concepts - Internship Presentation - week 10AWS Concepts - Internship Presentation - week 10
AWS Concepts - Internship Presentation - week 10
Devang Garach
 
A glimpse inside of SEO - Internship Presentation - week 9
A glimpse inside of SEO - Internship Presentation - week 9A glimpse inside of SEO - Internship Presentation - week 9
A glimpse inside of SEO - Internship Presentation - week 9
Devang Garach
 
Machine Learning and its types - Internship Presentation - week 8
Machine Learning and its types - Internship Presentation - week 8Machine Learning and its types - Internship Presentation - week 8
Machine Learning and its types - Internship Presentation - week 8
Devang Garach
 
Fundamental of Node.JS - Internship Presentation - Week7
Fundamental of Node.JS - Internship Presentation - Week7Fundamental of Node.JS - Internship Presentation - Week7
Fundamental of Node.JS - Internship Presentation - Week7
Devang Garach
 
Advanced JavaScript - Internship Presentation - Week6
Advanced JavaScript - Internship Presentation - Week6Advanced JavaScript - Internship Presentation - Week6
Advanced JavaScript - Internship Presentation - Week6
Devang Garach
 
Overview of React.JS - Internship Presentation - Week 5
Overview of React.JS - Internship Presentation - Week 5Overview of React.JS - Internship Presentation - Week 5
Overview of React.JS - Internship Presentation - Week 5
Devang Garach
 
Brief Introduction on JavaScript - Internship Presentation - Week4
Brief Introduction on JavaScript - Internship Presentation - Week4Brief Introduction on JavaScript - Internship Presentation - Week4
Brief Introduction on JavaScript - Internship Presentation - Week4
Devang Garach
 
Basics of Linux Commands, Git and Github
Basics of Linux Commands, Git and GithubBasics of Linux Commands, Git and Github
Basics of Linux Commands, Git and Github
Devang Garach
 
M.C.A. Internship Project Presentation - Devang Garach [191823011]
M.C.A. Internship Project Presentation - Devang Garach [191823011]M.C.A. Internship Project Presentation - Devang Garach [191823011]
M.C.A. Internship Project Presentation - Devang Garach [191823011]
Devang Garach
 
AWS Concepts - Internship Presentation - week 10
AWS Concepts - Internship Presentation - week 10AWS Concepts - Internship Presentation - week 10
AWS Concepts - Internship Presentation - week 10
Devang Garach
 
A glimpse inside of SEO - Internship Presentation - week 9
A glimpse inside of SEO - Internship Presentation - week 9A glimpse inside of SEO - Internship Presentation - week 9
A glimpse inside of SEO - Internship Presentation - week 9
Devang Garach
 
Machine Learning and its types - Internship Presentation - week 8
Machine Learning and its types - Internship Presentation - week 8Machine Learning and its types - Internship Presentation - week 8
Machine Learning and its types - Internship Presentation - week 8
Devang Garach
 
Fundamental of Node.JS - Internship Presentation - Week7
Fundamental of Node.JS - Internship Presentation - Week7Fundamental of Node.JS - Internship Presentation - Week7
Fundamental of Node.JS - Internship Presentation - Week7
Devang Garach
 
Advanced JavaScript - Internship Presentation - Week6
Advanced JavaScript - Internship Presentation - Week6Advanced JavaScript - Internship Presentation - Week6
Advanced JavaScript - Internship Presentation - Week6
Devang Garach
 
Overview of React.JS - Internship Presentation - Week 5
Overview of React.JS - Internship Presentation - Week 5Overview of React.JS - Internship Presentation - Week 5
Overview of React.JS - Internship Presentation - Week 5
Devang Garach
 
Brief Introduction on JavaScript - Internship Presentation - Week4
Brief Introduction on JavaScript - Internship Presentation - Week4Brief Introduction on JavaScript - Internship Presentation - Week4
Brief Introduction on JavaScript - Internship Presentation - Week4
Devang Garach
 
Basics of Linux Commands, Git and Github
Basics of Linux Commands, Git and GithubBasics of Linux Commands, Git and Github
Basics of Linux Commands, Git and Github
Devang Garach
 
M.C.A. Internship Project Presentation - Devang Garach [191823011]
M.C.A. Internship Project Presentation - Devang Garach [191823011]M.C.A. Internship Project Presentation - Devang Garach [191823011]
M.C.A. Internship Project Presentation - Devang Garach [191823011]
Devang Garach
 
Ad

Recently uploaded (20)

Ray Dalio How Countries go Broke the Big Cycle
Ray Dalio How Countries go Broke the Big CycleRay Dalio How Countries go Broke the Big Cycle
Ray Dalio How Countries go Broke the Big Cycle
Dadang Solihin
 
Artificial intelligence Presented by JM.
Artificial intelligence Presented by JM.Artificial intelligence Presented by JM.
Artificial intelligence Presented by JM.
jmansha170
 
Gibson "Secrets to Changing Behaviour in Scholarly Communication: A 2025 NISO...
Gibson "Secrets to Changing Behaviour in Scholarly Communication: A 2025 NISO...Gibson "Secrets to Changing Behaviour in Scholarly Communication: A 2025 NISO...
Gibson "Secrets to Changing Behaviour in Scholarly Communication: A 2025 NISO...
National Information Standards Organization (NISO)
 
SEXUALITY , UNWANTED PREGANCY AND SEXUAL ASSAULT .pptx
SEXUALITY , UNWANTED PREGANCY AND SEXUAL ASSAULT .pptxSEXUALITY , UNWANTED PREGANCY AND SEXUAL ASSAULT .pptx
SEXUALITY , UNWANTED PREGANCY AND SEXUAL ASSAULT .pptx
PoojaSen20
 
june 10 2025 ppt for madden on art science is over.pptx
june 10 2025 ppt for madden on art science is over.pptxjune 10 2025 ppt for madden on art science is over.pptx
june 10 2025 ppt for madden on art science is over.pptx
roger malina
 
How to Create a Rainbow Man Effect in Odoo 18
How to Create a Rainbow Man Effect in Odoo 18How to Create a Rainbow Man Effect in Odoo 18
How to Create a Rainbow Man Effect in Odoo 18
Celine George
 
How to Create Quotation Templates Sequence in Odoo 18 Sales
How to Create Quotation Templates Sequence in Odoo 18 SalesHow to Create Quotation Templates Sequence in Odoo 18 Sales
How to Create Quotation Templates Sequence in Odoo 18 Sales
Celine George
 
What are the benefits that dance brings?
What are the benefits that dance brings?What are the benefits that dance brings?
What are the benefits that dance brings?
memi27
 
Unit- 4 Biostatistics & Research Methodology.pdf
Unit- 4 Biostatistics & Research Methodology.pdfUnit- 4 Biostatistics & Research Methodology.pdf
Unit- 4 Biostatistics & Research Methodology.pdf
KRUTIKA CHANNE
 
Energy Balances Of Oecd Countries 2011 Iea Statistics 1st Edition Oecd
Energy Balances Of Oecd Countries 2011 Iea Statistics 1st Edition OecdEnergy Balances Of Oecd Countries 2011 Iea Statistics 1st Edition Oecd
Energy Balances Of Oecd Countries 2011 Iea Statistics 1st Edition Oecd
razelitouali
 
How to Create an Event in Odoo 18 - Odoo 18 Slides
How to Create an Event in Odoo 18 - Odoo 18 SlidesHow to Create an Event in Odoo 18 - Odoo 18 Slides
How to Create an Event in Odoo 18 - Odoo 18 Slides
Celine George
 
Unit 3 Poster Sketches with annotations.pptx
Unit 3 Poster Sketches with annotations.pptxUnit 3 Poster Sketches with annotations.pptx
Unit 3 Poster Sketches with annotations.pptx
bobby205207
 
Respiratory System , Urinary System
Respiratory  System , Urinary SystemRespiratory  System , Urinary System
Respiratory System , Urinary System
RushiMandali
 
Webcrawler_Mule_AIChain_MuleSoft_Meetup_Hyderabad
Webcrawler_Mule_AIChain_MuleSoft_Meetup_HyderabadWebcrawler_Mule_AIChain_MuleSoft_Meetup_Hyderabad
Webcrawler_Mule_AIChain_MuleSoft_Meetup_Hyderabad
Veera Pallapu
 
Different pricelists for different shops in odoo Point of Sale in Odoo 17
Different pricelists for different shops in odoo Point of Sale in Odoo 17Different pricelists for different shops in odoo Point of Sale in Odoo 17
Different pricelists for different shops in odoo Point of Sale in Odoo 17
Celine George
 
MATERI PPT TOPIK 4 LANDASAN FILOSOFIS PENDIDIKAN
MATERI PPT TOPIK 4 LANDASAN FILOSOFIS PENDIDIKANMATERI PPT TOPIK 4 LANDASAN FILOSOFIS PENDIDIKAN
MATERI PPT TOPIK 4 LANDASAN FILOSOFIS PENDIDIKAN
aditya23173
 
Parenting Teens: Supporting Trust, resilience and independence
Parenting Teens: Supporting Trust, resilience and independenceParenting Teens: Supporting Trust, resilience and independence
Parenting Teens: Supporting Trust, resilience and independence
Pooky Knightsmith
 
Adam Grant: Transforming Work Culture Through Organizational Psychology
Adam Grant: Transforming Work Culture Through Organizational PsychologyAdam Grant: Transforming Work Culture Through Organizational Psychology
Adam Grant: Transforming Work Culture Through Organizational Psychology
Prachi Shah
 
How to Manage & Create a New Department in Odoo 18 Employee
How to Manage & Create a New Department in Odoo 18 EmployeeHow to Manage & Create a New Department in Odoo 18 Employee
How to Manage & Create a New Department in Odoo 18 Employee
Celine George
 
THERAPEUTIC COMMUNICATION included definition, characteristics, nurse patient...
THERAPEUTIC COMMUNICATION included definition, characteristics, nurse patient...THERAPEUTIC COMMUNICATION included definition, characteristics, nurse patient...
THERAPEUTIC COMMUNICATION included definition, characteristics, nurse patient...
parmarjuli1412
 
Ray Dalio How Countries go Broke the Big Cycle
Ray Dalio How Countries go Broke the Big CycleRay Dalio How Countries go Broke the Big Cycle
Ray Dalio How Countries go Broke the Big Cycle
Dadang Solihin
 
Artificial intelligence Presented by JM.
Artificial intelligence Presented by JM.Artificial intelligence Presented by JM.
Artificial intelligence Presented by JM.
jmansha170
 
SEXUALITY , UNWANTED PREGANCY AND SEXUAL ASSAULT .pptx
SEXUALITY , UNWANTED PREGANCY AND SEXUAL ASSAULT .pptxSEXUALITY , UNWANTED PREGANCY AND SEXUAL ASSAULT .pptx
SEXUALITY , UNWANTED PREGANCY AND SEXUAL ASSAULT .pptx
PoojaSen20
 
june 10 2025 ppt for madden on art science is over.pptx
june 10 2025 ppt for madden on art science is over.pptxjune 10 2025 ppt for madden on art science is over.pptx
june 10 2025 ppt for madden on art science is over.pptx
roger malina
 
How to Create a Rainbow Man Effect in Odoo 18
How to Create a Rainbow Man Effect in Odoo 18How to Create a Rainbow Man Effect in Odoo 18
How to Create a Rainbow Man Effect in Odoo 18
Celine George
 
How to Create Quotation Templates Sequence in Odoo 18 Sales
How to Create Quotation Templates Sequence in Odoo 18 SalesHow to Create Quotation Templates Sequence in Odoo 18 Sales
How to Create Quotation Templates Sequence in Odoo 18 Sales
Celine George
 
What are the benefits that dance brings?
What are the benefits that dance brings?What are the benefits that dance brings?
What are the benefits that dance brings?
memi27
 
Unit- 4 Biostatistics & Research Methodology.pdf
Unit- 4 Biostatistics & Research Methodology.pdfUnit- 4 Biostatistics & Research Methodology.pdf
Unit- 4 Biostatistics & Research Methodology.pdf
KRUTIKA CHANNE
 
Energy Balances Of Oecd Countries 2011 Iea Statistics 1st Edition Oecd
Energy Balances Of Oecd Countries 2011 Iea Statistics 1st Edition OecdEnergy Balances Of Oecd Countries 2011 Iea Statistics 1st Edition Oecd
Energy Balances Of Oecd Countries 2011 Iea Statistics 1st Edition Oecd
razelitouali
 
How to Create an Event in Odoo 18 - Odoo 18 Slides
How to Create an Event in Odoo 18 - Odoo 18 SlidesHow to Create an Event in Odoo 18 - Odoo 18 Slides
How to Create an Event in Odoo 18 - Odoo 18 Slides
Celine George
 
Unit 3 Poster Sketches with annotations.pptx
Unit 3 Poster Sketches with annotations.pptxUnit 3 Poster Sketches with annotations.pptx
Unit 3 Poster Sketches with annotations.pptx
bobby205207
 
Respiratory System , Urinary System
Respiratory  System , Urinary SystemRespiratory  System , Urinary System
Respiratory System , Urinary System
RushiMandali
 
Webcrawler_Mule_AIChain_MuleSoft_Meetup_Hyderabad
Webcrawler_Mule_AIChain_MuleSoft_Meetup_HyderabadWebcrawler_Mule_AIChain_MuleSoft_Meetup_Hyderabad
Webcrawler_Mule_AIChain_MuleSoft_Meetup_Hyderabad
Veera Pallapu
 
Different pricelists for different shops in odoo Point of Sale in Odoo 17
Different pricelists for different shops in odoo Point of Sale in Odoo 17Different pricelists for different shops in odoo Point of Sale in Odoo 17
Different pricelists for different shops in odoo Point of Sale in Odoo 17
Celine George
 
MATERI PPT TOPIK 4 LANDASAN FILOSOFIS PENDIDIKAN
MATERI PPT TOPIK 4 LANDASAN FILOSOFIS PENDIDIKANMATERI PPT TOPIK 4 LANDASAN FILOSOFIS PENDIDIKAN
MATERI PPT TOPIK 4 LANDASAN FILOSOFIS PENDIDIKAN
aditya23173
 
Parenting Teens: Supporting Trust, resilience and independence
Parenting Teens: Supporting Trust, resilience and independenceParenting Teens: Supporting Trust, resilience and independence
Parenting Teens: Supporting Trust, resilience and independence
Pooky Knightsmith
 
Adam Grant: Transforming Work Culture Through Organizational Psychology
Adam Grant: Transforming Work Culture Through Organizational PsychologyAdam Grant: Transforming Work Culture Through Organizational Psychology
Adam Grant: Transforming Work Culture Through Organizational Psychology
Prachi Shah
 
How to Manage & Create a New Department in Odoo 18 Employee
How to Manage & Create a New Department in Odoo 18 EmployeeHow to Manage & Create a New Department in Odoo 18 Employee
How to Manage & Create a New Department in Odoo 18 Employee
Celine George
 
THERAPEUTIC COMMUNICATION included definition, characteristics, nurse patient...
THERAPEUTIC COMMUNICATION included definition, characteristics, nurse patient...THERAPEUTIC COMMUNICATION included definition, characteristics, nurse patient...
THERAPEUTIC COMMUNICATION included definition, characteristics, nurse patient...
parmarjuli1412
 

Intro to HTML, CSS & JS - Internship Presentation Week-3

  • 1. WEEKLY PRESENTATION DURING TRAINING PROGRAM - Devang Garach [email protected] WEEK-3 Information Technology
  • 2. AGENDA What is HTML? Difference between HTML4 & HTML5 HTML5 Structure What is CSS and Why it is used for? CSS Selector & Syntax Box Model CSS Units JavaScript (types of functions) Information Technology DURING TRAINING PROGRAM - WEEKLY PRESENTATION
  • 3. What is HTML? HTML Stands for Hyper-Text Markup Language Hypertext Markup Language (HTML) is the standard markup language for documents designed to be displayed in a web browser. It can be assisted by technologies such as Cascading Style Sheets (CSS) and scripting languages such as JavaScript. Information Technology DURING TRAINING PROGRAM - WEEKLY PRESENTATION
  • 4. Difference between HTML4 & HTML5 Information Technology HTML4 HTML5 HTML4 released in 1997 (source wikipedia.com) HTML5 released in 2014 (source wikipedia.com) Elements like nav, header, footer not their New semantic element for web structure like nav, header, footer etc. It didn’t support audio and video without the use of flash player support. It supports audio and video controls with the use of <audio> and <video> tags. Vector graphics is possible in HTML with the help of various technologies such as VML, Silver-light, Flash, etc. Vector graphics is additionally an integral a part of HTML5 like SVG and canvas. DURING TRAINING PROGRAM - WEEKLY PRESENTATION
  • 5. Difference between HTML4 & HTML5 (Continue...) Information Technology HTML4 HTML5 It does not allow drag and drop effects. It allows drag and drop effects. Doctype declaration is too long and complicated. Doctype declaration is quite simple and easy. Older version of HTML are less mobile-friendly. HTML5 language is more mobile-friendly. DURING TRAINING PROGRAM - WEEKLY PRESENTATION
  • 6. Difference between HTML4 & HTML5 (Continue...) Information Technology HTML4 HTML5 Removed tags in HTML5 which are n HTML4 <acronym>,<applet>,<basefont>,<big>, <center>,<font>,<frame>,<frameset>, <noframe>,<strike>, ... New Tags <article>,<aside>,<audio>,<bdl>, <canvas>,<datalist>,<details>, <figcaption>,<footer>,<header>,<main>, <progress>,<section>,<summary>, <time>, <video>, ... DURING TRAINING PROGRAM - WEEKLY PRESENTATION
  • 7. HTML5 Structure <!DOCTYPE HTML> <html lang=”en”> <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> <title>Your Website</title> </head> <body> <header> <nav> <ul> <li>Your menu</li> </ul> </nav> </header> <section> <article> <header> <h2>Article title</h2> <p>Posted on <time datetime="2009-09-04T16:31:24+02:00">September 4th 2009</time> by <a href="#">Writer</a> </header> <p>Content</p> </article> </section> <aside> <h2>About section</h2> <p>Donec eu libero sit amet quam egestas semper. Aenean ultricies mi vitae est. Mauris placerat eleifend leo.</p> </aside> <footer> <p>Copyright 2009 Your name</p> </footer> </body> </html> Information Technology DURING TRAINING PROGRAM - WEEKLY PRESENTATION
  • 8. What is CSS and Why it is used for? CSS Stands for Cascading Style Sheets It used for describing the presentation of a document written in a markup language such as HTML. CSS is a cornerstone technology of the World Wide Web, alongside HTML and JavaScript. CSS describes how HTML elements are to be displayed on screen, paper, or in other media CSS saves a lot of work. It can control the layout of multiple web pages all at once Information Technology DURING TRAINING PROGRAM - WEEKLY PRESENTATION
  • 9. CSS Selector & Syntax CSS selectors are used to "find" (or select) the HTML elements you want to style. We can divide CSS selectors into five categories: - Simple selectors (select elements based on name, id, class) - Combinator selectors (select elements based on a specific relationship between them) - Pseudo-class selectors (select elements based on a certain state) - Pseudo-elements selectors (select and style a part of an element) - Attribute selectors (select elements based on an attribute or attribute value) Information Technology DURING TRAINING PROGRAM - WEEKLY PRESENTATION
  • 10. CSS Selector & Syntax (Continue..) CSS Syntax: Selector{ Property : Value; … ... } Information Technology (Source: w3schools.com) DURING TRAINING PROGRAM - WEEKLY PRESENTATION
  • 11. CSS Selector & Syntax (Continue..) CSS Combinators: There are four different combinators in CSS: - descendant selector (space) - child selector (>) - adjacent sibling selector (+) - general sibling selector (~) Information Technology DURING TRAINING PROGRAM - WEEKLY PRESENTATION
  • 12. Box Model The CSS box model is essentially a box that wraps around every HTML element. It consists of: margins, borders, padding, and the actual content. The image below illustrates the box model: Information Technology (Source: w3schools.com) DURING TRAINING PROGRAM - WEEKLY PRESENTATION
  • 13. CSS Units CSS has several different units for expressing a length. Many CSS properties take "length" values, such as width, margin, padding, font-size, etc. Length is a number followed by a length unit, such as 10px, 2em, etc. There are two types of length units, Absolute Length & Relative Length Information Technology DURING TRAINING PROGRAM - WEEKLY PRESENTATION
  • 14. CSS Units (Continue...) Absolute Length The absolute length units are fixed and a length expressed in any of these will appear as exactly that size. Absolute length units are not recommended for use on screen, because screen sizes vary so much. However, they can be used if the output medium is known, such as for print layout. Information Technology cm (centimeters) mm (millimeters) px (pixels) 1px = 1/96th of 1in in (inches) 1in = 96px = 2.54cm pt (points) 1pt = 1/72 of 1in pc (picas) 1pc = 12 pt DURING TRAINING PROGRAM - WEEKLY PRESENTATION
  • 15. CSS Units (Continue...) Relative Length Relative length units specify a length relative to another length property. Relative length units scales better between different rendering mediums. Information Technology em rem vm vh % Relative to the font-size of the element (2em means 2 times the size of the current font) Relative to font-size of the root element Relative to 1% of the width of the viewport* Relative to 1% of the height of the viewport* Relative to the parent element DURING TRAINING PROGRAM - WEEKLY PRESENTATION
  • 16. JavaScript JavaScript is a lightweight interpreted programming language. The web browser receives the JavaScript code in its original text form and runs the script from that. Many types of function declaration in JavaScript: Regular Function | Anonymous Function | IIFE | Callback Function | Arrow Function Information Technology DURING TRAINING PROGRAM - WEEKLY PRESENTATION
  • 17. JavaScript (Continue...) Regular Functions: function sum(a, b){ return a + b; } sum(5, 6); Information Technology DURING TRAINING PROGRAM - WEEKLY PRESENTATION Anonymous Functions: const myFunctionVar = function(){ return typeof variable; }; myFunctionVar; IIFE Immediately-Invoked Function Expression (function(){ statements; })();
  • 18. JavaScript (Continue...) Arrow Functions: const absValue = (number) => { if (number < 0){ return -number; } return number; } Information Technology DURING TRAINING PROGRAM - WEEKLY PRESENTATION Callback Functions: function myDisplayer(some){ console.log(some); } function myCalc(n1, n2,myCallback){ let sum = n1 + n2; myCallback(sum); } myCalc(5, 5, myDisplayer);