SlideShare a Scribd company logo
S
Unit 7- Web Dev Topics
HTML, CSS, JavaScript
CSC 103
HTML
HTML - Structure & Content Layer
 HTML should be structured in a logical
and hierarchal system of importance.
 Content should be easily accessible at the
lowest level of technology
HTML
Hypertext Markup Language
 HTML Code
The elements (tags and markup) of
HTML code are interpreted by
browsers and displayed as a web page
with text, images and hyperlinks..
<html>
</html>
HTML Basic Structure
DTD (DOCTYPE Declaration
HTML Element (Opening tag)
Closing HTML tag
Head Element
Closing Head Tag
Page Title
Meta Element
Visual Part of Page
HTML Elements
Source: w3chools.com
HTML Attributes
Source: w3chools.com
HTML Attributes
Source: w3chools.com
CSS – Cascading Style Sheets
CSS – Presentation Layer
 CSS provides properties for formatting,
layout and design of HTML elements.
 CSS is more efficient when modified
independently of the HTML code
CSS – Cascading Style Sheets
Syntax
Source: w3chools.com
CSS – Cascading Style Sheets
Declaration Blocks
CSS – Cascading Style Sheets
CSS – Can be applied 3 ways…
 As a separate .css file (similar to CodePen)
 Inline (inside HTML tags)
 Inside <style> tags
within the html
<head> element
CSS – Cascading Style Sheets
Using CodePen CSS Panel…
which is similar to using an external CSS file
Affects all
elements in body
Affects only the h1 element
Affects all paragraphs
CSS – Cascading Style Sheets
Using CodePen CSS Panel…
More examples…
- Resizes image
- Floats to the right
- Adds a border
CSS comment
Changes line-spacing of list
JavaScript
JavaScript – Behavioral Layer
 ECMA Script - Not related to Java, but similar in
syntax at times
 Client Side – events occur locally in the browser,
server not required
 Can communicate with HTML elements through
the their ID names
JavaScript Syntax
Case Matters…
 getElementById("pic”).innerHTML
 tipcalc( ) is not the same as tipCalc( )
Punctuation Matters…
 " " ' ' ; : . { } ( )
 Semi-colons ; are used to terminate
or end statements
Code Comments
Comments are used in order to…
 Identify/highlight areas or sections of code
 Provide notes to self or team members
 Temporarily deactivate or hide code
Examples…
 <!--html comment-->
 /*css or js comment*/
 //javascript single line comment

More Related Content

PDF
Introduction to HTML, CSS, and Javascript
PDF
Html / CSS Presentation
PDF
Intro to Javascript and jQuery
PDF
Intro to jQuery
PPTX
HTML, CSS And JAVASCRIPT!
ODP
Introduction of Html/css/js
PPTX
Web Development Basics: HOW TO in HTML
PDF
Html,javascript & css
Introduction to HTML, CSS, and Javascript
Html / CSS Presentation
Intro to Javascript and jQuery
Intro to jQuery
HTML, CSS And JAVASCRIPT!
Introduction of Html/css/js
Web Development Basics: HOW TO in HTML
Html,javascript & css

What's hot (20)

PPTX
PDF
Intro to HTML, CSS & JS - Internship Presentation Week-3
PDF
Intro to HTML and CSS basics
PDF
Introduction to html & css
PPT
Span and Div tags in HTML
PPT
A quick guide to Css and java script
PDF
Frontend Crash Course: HTML and CSS
PPTX
HTML CSS | Computer Science
PDF
Web Layout
PPTX
HTML/CSS/java Script/Jquery
PPTX
Html and css
PPT
KMUTNB - Internet Programming 4/7
PPT
Html JavaScript and CSS
PPTX
Html and css presentation
PPTX
Introduction to HTML and CSS
ODP
Cascading Style Sheets - Part 02
PPTX
Introduction to web design discussing which languages is used for website des...
PPT
Introduction to HTML
PDF
Intro to HTML & CSS
PPT
How Cascading Style Sheets (CSS) Works
Intro to HTML, CSS & JS - Internship Presentation Week-3
Intro to HTML and CSS basics
Introduction to html & css
Span and Div tags in HTML
A quick guide to Css and java script
Frontend Crash Course: HTML and CSS
HTML CSS | Computer Science
Web Layout
HTML/CSS/java Script/Jquery
Html and css
KMUTNB - Internet Programming 4/7
Html JavaScript and CSS
Html and css presentation
Introduction to HTML and CSS
Cascading Style Sheets - Part 02
Introduction to web design discussing which languages is used for website des...
Introduction to HTML
Intro to HTML & CSS
How Cascading Style Sheets (CSS) Works
Ad

Similar to CSC103 Web Technologies: HTML, CSS, JS (20)

PPTX
PPTX
Web technologies part-2
PPT
Overview of PHP and MYSQL
PDF
Pfnp slides
PPTX
web development presentation computer science
PDF
HTML5 Semantics
PPTX
Web Designing Lecture 2 in Software.pptx
PDF
Tech Winter Break GDG on Campus MM(DU) - Web dev Session
PPT
Chapter 4a cascade style sheet css
PDF
INTERNSHIP PROJECT PPT RAJ HZL.pdf
PDF
HTML Foundations, part 1
PPTX
1812010023 web developement(ANKITA OJHA)CSE4(A).pptx
PPTX
Dsc Charusat Learning React Part 1
PPTX
PPT
CSS Methodology
PDF
CSS Foundations, pt 1
PPT
CSS Part I
DOC
Intermediate Web Design.doc
DOC
Intermediate Web Design.doc
PPTX
HTML Fundamentals
Web technologies part-2
Overview of PHP and MYSQL
Pfnp slides
web development presentation computer science
HTML5 Semantics
Web Designing Lecture 2 in Software.pptx
Tech Winter Break GDG on Campus MM(DU) - Web dev Session
Chapter 4a cascade style sheet css
INTERNSHIP PROJECT PPT RAJ HZL.pdf
HTML Foundations, part 1
1812010023 web developement(ANKITA OJHA)CSE4(A).pptx
Dsc Charusat Learning React Part 1
CSS Methodology
CSS Foundations, pt 1
CSS Part I
Intermediate Web Design.doc
Intermediate Web Design.doc
HTML Fundamentals
Ad

More from Richard Homa (20)

PPTX
Programming 1: Compilers, Interpreters & Bytecode
PPTX
CSC103 Digital Security
PPTX
CSC 103 Databases Overview
PPTX
CSC103 Intro to Programming
PPTX
CSC103 Gaming Overview (for Everyone)
PPTX
CSC103 3D Software & Technology
PPTX
CSC103 Vector vs Raster Graphics
PPTX
CSC103 Bits, Bytes & Binary
PPTX
CSC103 Processing, Memory & Storage
PPTX
CSC103 Digital Devices: Device Basics
PPTX
CSC103 Internet
PPTX
CCS103 Bits, Bytes, Binary
PPTX
CSC103 Digital Images, Pixels, RGB Colors
PPTX
Excel Review Quiz
PPTX
CSC102 Excel Basics
PPTX
CSC102 Word Paragraph Formatting
PPTX
CSC102 Computer Software
PPTX
CSC102 Computer Connectivity
PPTX
CSC 102 Computer Intro
PPTX
Creating Immersive Technology Experiences with Web-based Software & Resources
Programming 1: Compilers, Interpreters & Bytecode
CSC103 Digital Security
CSC 103 Databases Overview
CSC103 Intro to Programming
CSC103 Gaming Overview (for Everyone)
CSC103 3D Software & Technology
CSC103 Vector vs Raster Graphics
CSC103 Bits, Bytes & Binary
CSC103 Processing, Memory & Storage
CSC103 Digital Devices: Device Basics
CSC103 Internet
CCS103 Bits, Bytes, Binary
CSC103 Digital Images, Pixels, RGB Colors
Excel Review Quiz
CSC102 Excel Basics
CSC102 Word Paragraph Formatting
CSC102 Computer Software
CSC102 Computer Connectivity
CSC 102 Computer Intro
Creating Immersive Technology Experiences with Web-based Software & Resources

Recently uploaded (20)

PDF
Approach and Philosophy of On baking technology
DOCX
The AUB Centre for AI in Media Proposal.docx
PDF
Build a system with the filesystem maintained by OSTree @ COSCUP 2025
PDF
Profit Center Accounting in SAP S/4HANA, S4F28 Col11
PPTX
MYSQL Presentation for SQL database connectivity
PDF
Peak of Data & AI Encore- AI for Metadata and Smarter Workflows
PDF
Per capita expenditure prediction using model stacking based on satellite ima...
PDF
Advanced methodologies resolving dimensionality complications for autism neur...
PDF
Dropbox Q2 2025 Financial Results & Investor Presentation
PDF
cuic standard and advanced reporting.pdf
PPTX
Cloud computing and distributed systems.
PDF
Empathic Computing: Creating Shared Understanding
PPTX
sap open course for s4hana steps from ECC to s4
PDF
Chapter 3 Spatial Domain Image Processing.pdf
PPTX
Digital-Transformation-Roadmap-for-Companies.pptx
PDF
Diabetes mellitus diagnosis method based random forest with bat algorithm
PDF
NewMind AI Weekly Chronicles - August'25 Week I
PDF
Mobile App Security Testing_ A Comprehensive Guide.pdf
PDF
Electronic commerce courselecture one. Pdf
PPTX
VMware vSphere Foundation How to Sell Presentation-Ver1.4-2-14-2024.pptx
Approach and Philosophy of On baking technology
The AUB Centre for AI in Media Proposal.docx
Build a system with the filesystem maintained by OSTree @ COSCUP 2025
Profit Center Accounting in SAP S/4HANA, S4F28 Col11
MYSQL Presentation for SQL database connectivity
Peak of Data & AI Encore- AI for Metadata and Smarter Workflows
Per capita expenditure prediction using model stacking based on satellite ima...
Advanced methodologies resolving dimensionality complications for autism neur...
Dropbox Q2 2025 Financial Results & Investor Presentation
cuic standard and advanced reporting.pdf
Cloud computing and distributed systems.
Empathic Computing: Creating Shared Understanding
sap open course for s4hana steps from ECC to s4
Chapter 3 Spatial Domain Image Processing.pdf
Digital-Transformation-Roadmap-for-Companies.pptx
Diabetes mellitus diagnosis method based random forest with bat algorithm
NewMind AI Weekly Chronicles - August'25 Week I
Mobile App Security Testing_ A Comprehensive Guide.pdf
Electronic commerce courselecture one. Pdf
VMware vSphere Foundation How to Sell Presentation-Ver1.4-2-14-2024.pptx

CSC103 Web Technologies: HTML, CSS, JS

  • 1. S Unit 7- Web Dev Topics HTML, CSS, JavaScript CSC 103
  • 2. HTML HTML - Structure & Content Layer  HTML should be structured in a logical and hierarchal system of importance.  Content should be easily accessible at the lowest level of technology
  • 3. HTML Hypertext Markup Language  HTML Code The elements (tags and markup) of HTML code are interpreted by browsers and displayed as a web page with text, images and hyperlinks.. <html> </html>
  • 4. HTML Basic Structure DTD (DOCTYPE Declaration HTML Element (Opening tag) Closing HTML tag Head Element Closing Head Tag Page Title Meta Element Visual Part of Page
  • 8. CSS – Cascading Style Sheets CSS – Presentation Layer  CSS provides properties for formatting, layout and design of HTML elements.  CSS is more efficient when modified independently of the HTML code
  • 9. CSS – Cascading Style Sheets Syntax Source: w3chools.com
  • 10. CSS – Cascading Style Sheets Declaration Blocks
  • 11. CSS – Cascading Style Sheets CSS – Can be applied 3 ways…  As a separate .css file (similar to CodePen)  Inline (inside HTML tags)  Inside <style> tags within the html <head> element
  • 12. CSS – Cascading Style Sheets Using CodePen CSS Panel… which is similar to using an external CSS file Affects all elements in body Affects only the h1 element Affects all paragraphs
  • 13. CSS – Cascading Style Sheets Using CodePen CSS Panel… More examples… - Resizes image - Floats to the right - Adds a border CSS comment Changes line-spacing of list
  • 14. JavaScript JavaScript – Behavioral Layer  ECMA Script - Not related to Java, but similar in syntax at times  Client Side – events occur locally in the browser, server not required  Can communicate with HTML elements through the their ID names
  • 15. JavaScript Syntax Case Matters…  getElementById("pic”).innerHTML  tipcalc( ) is not the same as tipCalc( ) Punctuation Matters…  " " ' ' ; : . { } ( )  Semi-colons ; are used to terminate or end statements
  • 16. Code Comments Comments are used in order to…  Identify/highlight areas or sections of code  Provide notes to self or team members  Temporarily deactivate or hide code Examples…  <!--html comment-->  /*css or js comment*/  //javascript single line comment