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

What's hot (20)

PPTX
html-css
Dhirendra Chauhan
 
PDF
Intro to HTML, CSS & JS - Internship Presentation Week-3
Devang Garach
 
PDF
Intro to HTML and CSS basics
Eliran Eliassy
 
PDF
Introduction to html & css
sesharao puvvada
 
PPT
Span and Div tags in HTML
Biswadip Goswami
 
PPT
A quick guide to Css and java script
AVINASH KUMAR
 
PDF
Frontend Crash Course: HTML and CSS
Thinkful
 
PPTX
HTML CSS | Computer Science
Transweb Global Inc
 
PDF
Web Layout
Shawn Calvert
 
PPTX
HTML/CSS/java Script/Jquery
FAKHRUN NISHA
 
PPTX
Html and css
Sukrit Gupta
 
PPT
KMUTNB - Internet Programming 4/7
phuphax
 
PPT
Html JavaScript and CSS
Radhe Krishna Rajan
 
PPTX
Html and css presentation
umesh patil
 
PPTX
Introduction to HTML and CSS
Ferdous Mahmud Shaon
 
ODP
Cascading Style Sheets - Part 02
Hatem Mahmoud
 
PPTX
Introduction to web design discussing which languages is used for website des...
Aditya Dwivedi
 
PPT
Introduction to HTML
Amit Tyagi
 
PDF
Intro to HTML & CSS
Syed Sami
 
PPT
How Cascading Style Sheets (CSS) Works
Amit Tyagi
 
Intro to HTML, CSS & JS - Internship Presentation Week-3
Devang Garach
 
Intro to HTML and CSS basics
Eliran Eliassy
 
Introduction to html & css
sesharao puvvada
 
Span and Div tags in HTML
Biswadip Goswami
 
A quick guide to Css and java script
AVINASH KUMAR
 
Frontend Crash Course: HTML and CSS
Thinkful
 
HTML CSS | Computer Science
Transweb Global Inc
 
Web Layout
Shawn Calvert
 
HTML/CSS/java Script/Jquery
FAKHRUN NISHA
 
Html and css
Sukrit Gupta
 
KMUTNB - Internet Programming 4/7
phuphax
 
Html JavaScript and CSS
Radhe Krishna Rajan
 
Html and css presentation
umesh patil
 
Introduction to HTML and CSS
Ferdous Mahmud Shaon
 
Cascading Style Sheets - Part 02
Hatem Mahmoud
 
Introduction to web design discussing which languages is used for website des...
Aditya Dwivedi
 
Introduction to HTML
Amit Tyagi
 
Intro to HTML & CSS
Syed Sami
 
How Cascading Style Sheets (CSS) Works
Amit Tyagi
 

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

PPTX
Tech Winter Break : Basics of Web Development
Vaishnavi186737
 
PPTX
Tech Winter Break- GDG on Campus Bajaj Institute of Technology, Wardha
GDSCBITW1
 
PDF
Introduction to HTML and CSS
Mario Hernandez
 
PPT
Presentation on html, css
Aamir Sohail
 
PPTX
CSC PPT 4.pptx
DrRavneetSingh
 
PPTX
Hushang Gaikwad
Hushnag Gaikwad
 
PDF
slidesgo-mastering-html-and-css-a-comprehensive-guide-to-tags-and-elements-20...
MrunmayiLohakare
 
PPTX
chitra
sweet chitra
 
PPTX
DHTML
Ravinder Kamboj
 
PPTX
Cascading style sheet an introduction
Himanshu Pathak
 
PPTX
Web Development basics with WordPress
Rashna Maharjan
 
PPTX
Web1O1 - Session 1
NYCSS Meetup
 
PPT
Basic HTML/CSS
Chris Heiden
 
PPTX
Introduction to Web Development.pptx
GDSCVJTI
 
PPTX
Introduction to Web Development.pptx
Alisha Kamat
 
PPTX
Introduction to Web Development.pptx
Alisha Kamat
 
PPTX
basic programming language AND HTML CSS JAVApdf
elayelily
 
PPTX
Web development it slideWeb development it slidemy web development slide-...
AliyuUmarIsa
 
PPTX
HTML5 and CSS Fundamentals MOOC Course College Presentation
KuchBhi90
 
Tech Winter Break : Basics of Web Development
Vaishnavi186737
 
Tech Winter Break- GDG on Campus Bajaj Institute of Technology, Wardha
GDSCBITW1
 
Introduction to HTML and CSS
Mario Hernandez
 
Presentation on html, css
Aamir Sohail
 
CSC PPT 4.pptx
DrRavneetSingh
 
Hushang Gaikwad
Hushnag Gaikwad
 
slidesgo-mastering-html-and-css-a-comprehensive-guide-to-tags-and-elements-20...
MrunmayiLohakare
 
chitra
sweet chitra
 
Cascading style sheet an introduction
Himanshu Pathak
 
Web Development basics with WordPress
Rashna Maharjan
 
Web1O1 - Session 1
NYCSS Meetup
 
Basic HTML/CSS
Chris Heiden
 
Introduction to Web Development.pptx
GDSCVJTI
 
Introduction to Web Development.pptx
Alisha Kamat
 
Introduction to Web Development.pptx
Alisha Kamat
 
basic programming language AND HTML CSS JAVApdf
elayelily
 
Web development it slideWeb development it slidemy web development slide-...
AliyuUmarIsa
 
HTML5 and CSS Fundamentals MOOC Course College Presentation
KuchBhi90
 
Ad

More from Richard Homa (20)

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

Recently uploaded (20)

PPTX
Designing_the_Future_AI_Driven_Product_Experiences_Across_Devices.pptx
presentifyai
 
PPTX
Seamless Tech Experiences Showcasing Cross-Platform App Design.pptx
presentifyai
 
PDF
POV_ Why Enterprises Need to Find Value in ZERO.pdf
darshakparmar
 
PDF
Transforming Utility Networks: Large-scale Data Migrations with FME
Safe Software
 
PPTX
COMPARISON OF RASTER ANALYSIS TOOLS OF QGIS AND ARCGIS
Sharanya Sarkar
 
PDF
CIFDAQ Market Wrap for the week of 4th July 2025
CIFDAQ
 
PDF
Bitcoin for Millennials podcast with Bram, Power Laws of Bitcoin
Stephen Perrenod
 
DOCX
Python coding for beginners !! Start now!#
Rajni Bhardwaj Grover
 
PPTX
Q2 FY26 Tableau User Group Leader Quarterly Call
lward7
 
PDF
“Squinting Vision Pipelines: Detecting and Correcting Errors in Vision Models...
Edge AI and Vision Alliance
 
PDF
Automating Feature Enrichment and Station Creation in Natural Gas Utility Net...
Safe Software
 
PPTX
Digital Circuits, important subject in CS
contactparinay1
 
PDF
Reverse Engineering of Security Products: Developing an Advanced Microsoft De...
nwbxhhcyjv
 
PPTX
Agentforce World Tour Toronto '25 - MCP with MuleSoft
Alexandra N. Martinez
 
PPTX
Agentforce World Tour Toronto '25 - Supercharge MuleSoft Development with Mod...
Alexandra N. Martinez
 
PDF
Transcript: Book industry state of the nation 2025 - Tech Forum 2025
BookNet Canada
 
PDF
The 2025 InfraRed Report - Redpoint Ventures
Razin Mustafiz
 
PDF
“Computer Vision at Sea: Automated Fish Tracking for Sustainable Fishing,” a ...
Edge AI and Vision Alliance
 
PDF
Newgen Beyond Frankenstein_Build vs Buy_Digital_version.pdf
darshakparmar
 
PDF
Go Concurrency Real-World Patterns, Pitfalls, and Playground Battles.pdf
Emily Achieng
 
Designing_the_Future_AI_Driven_Product_Experiences_Across_Devices.pptx
presentifyai
 
Seamless Tech Experiences Showcasing Cross-Platform App Design.pptx
presentifyai
 
POV_ Why Enterprises Need to Find Value in ZERO.pdf
darshakparmar
 
Transforming Utility Networks: Large-scale Data Migrations with FME
Safe Software
 
COMPARISON OF RASTER ANALYSIS TOOLS OF QGIS AND ARCGIS
Sharanya Sarkar
 
CIFDAQ Market Wrap for the week of 4th July 2025
CIFDAQ
 
Bitcoin for Millennials podcast with Bram, Power Laws of Bitcoin
Stephen Perrenod
 
Python coding for beginners !! Start now!#
Rajni Bhardwaj Grover
 
Q2 FY26 Tableau User Group Leader Quarterly Call
lward7
 
“Squinting Vision Pipelines: Detecting and Correcting Errors in Vision Models...
Edge AI and Vision Alliance
 
Automating Feature Enrichment and Station Creation in Natural Gas Utility Net...
Safe Software
 
Digital Circuits, important subject in CS
contactparinay1
 
Reverse Engineering of Security Products: Developing an Advanced Microsoft De...
nwbxhhcyjv
 
Agentforce World Tour Toronto '25 - MCP with MuleSoft
Alexandra N. Martinez
 
Agentforce World Tour Toronto '25 - Supercharge MuleSoft Development with Mod...
Alexandra N. Martinez
 
Transcript: Book industry state of the nation 2025 - Tech Forum 2025
BookNet Canada
 
The 2025 InfraRed Report - Redpoint Ventures
Razin Mustafiz
 
“Computer Vision at Sea: Automated Fish Tracking for Sustainable Fishing,” a ...
Edge AI and Vision Alliance
 
Newgen Beyond Frankenstein_Build vs Buy_Digital_version.pdf
darshakparmar
 
Go Concurrency Real-World Patterns, Pitfalls, and Playground Battles.pdf
Emily Achieng
 

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