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

PPTX
Java script
DOCX
DOM(Document Object Model) in javascript
PDF
HTML5: features with examples
PPTX
Presentation about html5 css3
PPTX
Cascading style sheet
PPTX
Bootstrap 4 ppt
PPTX
Basic of HTML, CSS(StyleSheet), JavaScript(js), Bootstrap, JSON & AngularJS
ODP
CSS Basics
Java script
DOM(Document Object Model) in javascript
HTML5: features with examples
Presentation about html5 css3
Cascading style sheet
Bootstrap 4 ppt
Basic of HTML, CSS(StyleSheet), JavaScript(js), Bootstrap, JSON & AngularJS
CSS Basics

What's hot (20)

PPT
Cascading Style Sheets (CSS) help
PPTX
Complete Lecture on Css presentation
PDF
Html / CSS Presentation
PDF
Bootstrap 5 basic
PDF
HTML CSS Basics
PDF
Introduction to HTML5
PPTX
PDF
HTML and CSS crash course!
PPT
Asp.net.
PPTX
Bootstrap 3
PPT
Web Development using HTML & CSS
ODP
Introduction of Html/css/js
PPT
Introduction to Cascading Style Sheets (CSS)
PPTX
Html5 semantics
PDF
Intro to HTML and CSS basics
PPTX
Servlets
PDF
WEB I - 01 - Introduction to Web Development
PPT
javaScript.ppt
PPTX
HTML Semantic Tags
Cascading Style Sheets (CSS) help
Complete Lecture on Css presentation
Html / CSS Presentation
Bootstrap 5 basic
HTML CSS Basics
Introduction to HTML5
HTML and CSS crash course!
Asp.net.
Bootstrap 3
Web Development using HTML & CSS
Introduction of Html/css/js
Introduction to Cascading Style Sheets (CSS)
Html5 semantics
Intro to HTML and CSS basics
Servlets
WEB I - 01 - Introduction to Web Development
javaScript.ppt
HTML Semantic Tags
Ad

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

PPTX
Html,CSS & UI/UX design
PPTX
WEBSITE DESIGN AND DEVELOPMENT WITH CASCADING STYLE SHEETS(CSS)
PPTX
Introduction to Cascading Style Sheets .
PDF
Html5 deciphered - designing concepts part 1
PDF
1. Advanced Web Designing (12th IT) (1).pdf
PPTX
Tech Winter Break'24 Workshop A hands-o
PPTX
Introduction to HTML+CSS+Javascript by Deepu.pptx
PDF
GDI Seattle Intermediate HTML and CSS Class 1
PPTX
Html-Prabakaran
PPTX
Introduction to HTML+CSS+Javascript.pptx
PPTX
wd project.pptx
PDF
A practical guide to building websites with HTML5 & CSS3
PPTX
BSC notes of _HTML_Easyto understand lease see.pptx
PPTX
Rapid HTML Prototyping with Bootstrap 4
PDF
Web Concepts - an introduction - introduction
PPT
SDP_-_Module_4.ppt
PPTX
Introduction to HTML+CSS+Javascript.pptx
PPTX
Introduction to HTML+CSS+Javascript.pptx
PPTX
INTRODUCTION CODING - THE HTML AND CSS.pptx
PDF
Html & Html5 from scratch
Html,CSS & UI/UX design
WEBSITE DESIGN AND DEVELOPMENT WITH CASCADING STYLE SHEETS(CSS)
Introduction to Cascading Style Sheets .
Html5 deciphered - designing concepts part 1
1. Advanced Web Designing (12th IT) (1).pdf
Tech Winter Break'24 Workshop A hands-o
Introduction to HTML+CSS+Javascript by Deepu.pptx
GDI Seattle Intermediate HTML and CSS Class 1
Html-Prabakaran
Introduction to HTML+CSS+Javascript.pptx
wd project.pptx
A practical guide to building websites with HTML5 & CSS3
BSC notes of _HTML_Easyto understand lease see.pptx
Rapid HTML Prototyping with Bootstrap 4
Web Concepts - an introduction - introduction
SDP_-_Module_4.ppt
Introduction to HTML+CSS+Javascript.pptx
Introduction to HTML+CSS+Javascript.pptx
INTRODUCTION CODING - THE HTML AND CSS.pptx
Html & Html5 from scratch
Ad

More from Devang Garach (9)

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

Recently uploaded (20)

PPTX
B.Sc. DS Unit 2 Software Engineering.pptx
PDF
Complications of Minimal Access-Surgery.pdf
PDF
HVAC Specification 2024 according to central public works department
PDF
AI-driven educational solutions for real-life interventions in the Philippine...
PDF
1.3 FINAL REVISED K-10 PE and Health CG 2023 Grades 4-10 (1).pdf
PPTX
ELIAS-SEZIURE AND EPilepsy semmioan session.pptx
PDF
Hazard Identification & Risk Assessment .pdf
PDF
International_Financial_Reporting_Standa.pdf
PDF
Τίμαιος είναι φιλοσοφικός διάλογος του Πλάτωνα
PDF
LIFE & LIVING TRILOGY - PART (3) REALITY & MYSTERY.pdf
PDF
BP 505 T. PHARMACEUTICAL JURISPRUDENCE (UNIT 1).pdf
PDF
Uderstanding digital marketing and marketing stratergie for engaging the digi...
PPTX
Virtual and Augmented Reality in Current Scenario
PDF
Empowerment Technology for Senior High School Guide
PDF
MICROENCAPSULATION_NDDS_BPHARMACY__SEM VII_PCI .pdf
PDF
semiconductor packaging in vlsi design fab
PDF
BP 505 T. PHARMACEUTICAL JURISPRUDENCE (UNIT 2).pdf
PDF
MBA _Common_ 2nd year Syllabus _2021-22_.pdf
PDF
Race Reva University – Shaping Future Leaders in Artificial Intelligence
PDF
Journal of Dental Science - UDMY (2021).pdf
B.Sc. DS Unit 2 Software Engineering.pptx
Complications of Minimal Access-Surgery.pdf
HVAC Specification 2024 according to central public works department
AI-driven educational solutions for real-life interventions in the Philippine...
1.3 FINAL REVISED K-10 PE and Health CG 2023 Grades 4-10 (1).pdf
ELIAS-SEZIURE AND EPilepsy semmioan session.pptx
Hazard Identification & Risk Assessment .pdf
International_Financial_Reporting_Standa.pdf
Τίμαιος είναι φιλοσοφικός διάλογος του Πλάτωνα
LIFE & LIVING TRILOGY - PART (3) REALITY & MYSTERY.pdf
BP 505 T. PHARMACEUTICAL JURISPRUDENCE (UNIT 1).pdf
Uderstanding digital marketing and marketing stratergie for engaging the digi...
Virtual and Augmented Reality in Current Scenario
Empowerment Technology for Senior High School Guide
MICROENCAPSULATION_NDDS_BPHARMACY__SEM VII_PCI .pdf
semiconductor packaging in vlsi design fab
BP 505 T. PHARMACEUTICAL JURISPRUDENCE (UNIT 2).pdf
MBA _Common_ 2nd year Syllabus _2021-22_.pdf
Race Reva University – Shaping Future Leaders in Artificial Intelligence
Journal of Dental Science - UDMY (2021).pdf

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);