HTML and the DOM. What is HTML? Hypertext Interconnected documents Markup Our code goes around our documents Language Yes, it’s programming.

Slides:



Advertisements
Similar presentations
HTML. The World Wide Web Protocols Addresses HTML.
Advertisements

HTML Overview - Cascading Style Sheets (CSS). Before We Begin Make a copy of one of your HTML file you have previously created Make a copy of one of your.
HTML / CSS – Basics Why the heck are we doing this?
1 HTML Markup language – coded text is converted into formatted text by a web browser. Big chart on pg. 16—39. Tags usually come in pairs like – data Some.
Made by: Dan Ye. Introduction Basic Last Page ☆ HTML stands for Hyper Text Markup Language; ☆ HTML is not a programming language, it is a markup language;
CM143 - Web Week 2 Basic HTML. Links and Image Tags.
Basic HTML Workshop LIS Web Team Fall What is HTML? Stands for Hyper Text Markup Language Computer language used to create web pages HTML file =
CNIT 133 Interactive Web Pags – JavaScript and AJAX Review HTML5.
Basics of HTML.
HTML & CSS A brief introduction. OUTLINE 1.What is HTML? 2.What is CSS? 3.How are they used together? 4.Troubleshooting/Common problems 5.More resources.
Unit 1 – Developing a Web Page. Objectives:  Learn the history of the Web and HTML  Describe HTML standards and specifications  Understand HTML elements.
Week 1.  Phillip Chee   Ext.1214 
HTML Structure & syntax
ACM 511 HTML Week -1 ACM 511 Course Notes. Books ACM 511 Course Notes.
1 Essential HTML coding By Fadi Safieddine (Week 2)
Chapter 1 XHTML: Part I The Web Warrior Guide to Web Design Technologies.
Styling and theming Build campaigns in style. What we'll look at... How a web document is structured How HTML and CSS fit together Tools you will need.
HTML. WHAT IS HTML HTML stands for Hyper Text Markup Language HTML is not a programming language, it is a markup language A markup language is a set of.
OBJECTIVES  What is HTML  What tools are needed  Creating a Web drive on campus (done only once)  HTML file layout  Some HTML tags  Creating and.
1 Ethics of Computing MONT 113G, Spring 2012 Session 8 The Internet HTML.
HTML CRASH COURSE. What is HTML?  Hyper Text Markup Language  The language used to make web pages  Written by using tags.
1 HTML John Sum Institute of Technology Management National Chung Hsing University.
HTML CSS JAVASCRIPT. HTML - Stands for Hyper Text Markup Language HTML is a ‘language’ that describes web pages. This language is a collection of codes.
HTML INTRODUCTION. What is HTML?  HTML stands for Hypertext Markup Language  Developed in 1990  Hidden code that helps us communicate with others on.
Computer Information Technology – Section 3-4. HTML – The Language of the Internet Objectives: The Student will: 1. Look at HTML 2. Understand the basic.
WRT235: Writing in Electronic Environments Basic CSS.
Introduction to HTML Wah Yan College (Hong Kong) Mr. Li C.P.
CA Professional Web Site Development Class 2: Anatomy of a Web Site and Web Page & Intro to HTML.
Basic HTML Hyper text markup Language. Lesson Overview  In this lesson, you will learn to:  Write HTML code using a text editor application such as.
HTML Structure & syntax. Introduction This presentation introduces the following: Doctype declaration HTML Tags, Elements and Attributes Sections of a.
HTML Basics Let’s Make a Web Page. What is HTML? HTML is a language for describing web pages. HTML stands for Hyper Text Markup Language HTML is not a.
Web Design. How do web pages work? Webpages are written in a code called HTML. Programs like Internet Explorer read the code, and then show it as a web.
HTML.
HTML Basic. What is HTML HTML is a language for describing web pages. HTML stands for Hyper Text Markup Language HTML is not a programming language, it.
The Teacher Computing HTML HyperText Markup Language.
Introduction to HTML Year 8. What is HTML O Hyper Text Mark-up Language O The language that all the elements of a web page are written in. O It describes.
HTML HyperText Markup Language. Text Files An array of bytes stored on disk Each element of the array is a text character A text editor is a user program.
Web programming Part 1: HTML 由 NordriDesign 提供
HTML – The Basics COE 201- Computer Proficiency. The Internet The World Wide Web ▫Also known as the Web ▫Created in 1989  European Laboratory for Particle.
WEEK -1 ACM 262 ACM 262 Course Notes. HTML What is HTML? HTML is a language for describing web pages. HTML stands for Hyper Text Markup Language HTML.
1 2/21/05CS120 The Information Era Chapter 4 Basic Web Page Construction TOPICS: Lists, Fonts, Links, and Preformatted Text.
The idea of adding markup instructions to documents is not new. Before computers, authors would make annotations by hand in their written or typed documents.
HTML: Hypertext Markup Language The language to make web pages 0.
HTML rev 01/09/2016 Hyper Text Markup Language. HTML -history  Hypertext Markup Language is the main language for creating web pages . It was first.
XP 2 HTML Tutorial 1: Developing a Basic Web Page.
HTML-I Basic HTML Elements. HTML (Hyper Text Markup Language) HTML is a document layout and hyperlink- specification language. i.e. a language used to.
HTML Basic Structure. Page Title My First Heading My first paragraph.
Creating Your 1 st Web Page. Tags Refers to anything between on a webpage Most appear in pairs surrounding content Some appear as empty tags (no closing.
HTML Tags BTT1O. HTML  Documents written in hypertext markup language can be interpreted by all web browsers.  This language lets the web page developer.
HTML Tutorial. What is HTML HTML is a markup language for describing web documents (web pages) HTML documents are described by HTML tags Each HTML tag.
Basic HTML Page 1. First Open Windows Notepad to type your HTML code 2.
Week 1: Introduction to HTML and Web Design
Web Basics: HTML/CSS/JavaScript What are they?
Introduction to web design discussing which languages is used for website designing
HTML A brief introduction HTML.
HTML HYPERTEXT MARKUP LANGUAGE.
Basic HTML and Embed Codes
HTML 12/27/2018.
Document Object Model (DOM): Objects and Collections
Making Web pages.
Secure Web Programming
Web pages Lesson 3.
What is HTML?.
HTML What is Html? HTML stands for Hypertext Markup Language.
Web Application Development
Basic HTML Workshop.
HyperText Markup Language
A Summary of Some Key Points from Chapters
Week 5: Recap and Portfolio Site
HTTP and HTML HTML HTTP HTTP – Standardize the packaging
Presentation transcript:

HTML and the DOM

What is HTML? Hypertext Interconnected documents Markup Our code goes around our documents Language Yes, it’s programming

Declarative programming What you want not how you want it

Imperative programming C/C++ JavaScript Most everything you think of as programming

Markup We surround our data with tags to declare how they are to be treated.

This is my first paragraph. In this paragraph some parts need to be emphasized. This is the first item in a list The browser wouldn’t know it’s a list Except for the tags around this text

HyperText The text documents are interconnected inside the text

Anchor tag Check out some document!

Hyper === interconnected Hypertext markup language Hyper reference Hypertext transfer protocol

So what is HTML? A way of defining the *structure* of a document.

Document Object Model The in-memory model of an HTML Document

This is the DOM

Another View of the DOM

The DOM is a tree The file system is a tree The filesystem is a tree made up of files and directories. The DOM is a tree The DOM is a tree made up of text nodes and HTML Element nodes (tags)

2 Types of Tags get Rendered 1.Block Tags 2.Inline Tags

Let’s take a look at some code See basicpage.html demo.

HTML is not where we change font, colours, sizes, etc. HTML is about STRUCTURE.