Lists, nesting, span/div

Slides:



Advertisements
Similar presentations
Neal Stublen Content Models  Metadata content Data not necessarily presented on the page ○ title, link, meta, style  Flow content.
Advertisements

Chapter 2 HTML Basics Key Concepts
CS134 Web Design & Development Attributes, Lists, Tables, Links, and Images Mehmud Abliz.
Chapter 2 HTML Basics Key Concepts Copyright © 2013 Terry Ann Morris, Ed.D 1.
HTML | DOM. Objectives  HTML – Hypertext Markup Language  Sematic markup  Common tags/elements  Document Object Model (DOM)  Work on page | HTML.
HTML5 Sections Old structuring elements –body, div, address, blockquote –headings: h1, h2, h3, … –ul, ol, table New structuring elements –header, footer,
HTML | DOM. Objectives  HTML – Hypertext Markup Language  Sematic markup  Common tags/elements  Document Object Model (DOM)  Work on page | HTML.
HTML.
HTML Tags Lesson 2. What are HTML Tags?  Markup tags  Coded instructions that accompany the plain text of an HTML document  Syntax –Left wicket< –Tag.
DESIGNING A WEB PAGE Introducing the… &TAGS.
Chapter 5 pp HTML Elements & Attributes Format Content Or Examples This Text Is A Hyperlink.
INT222 – Internet Fundamentals Week 8: Using New HTML features 1.
Chapter 4 and 5. Objectives Introduce markup: elements and attributes How browsers interpret HTML documents Basic structure of HTML document What do style.
HTML Basics Text, Images, Tables, Forms. HTML Structure HTML is comprised of “elements” and “tags” – Begins with and ends with Elements (tags) are nested.
Lesson 5. XHTML Tags, Attributes and Structure XHTML Basic Structure head and body titles Paragraph headings comments Document Presentation Manipulating.
Week 1: Introduction to HTML and Web Design
HTML Extra Markup CS 1150 Spring 2017.
Cascading Style Sheets for layout
HTML CS 4640 Programming Languages for Web Applications
>> HTML: Tags – Hyperlink, Media, Lists
Web Systems & Technologies
HTML Basics.
CGS 3066: Lecture 2 Web Development and HTML5
Web Development & Design Foundations with HTML5 8th Edition
LAB Work 01 MBA 61062: E-Commerce
Marking Up with XHTML Tags describe how a web page should look
Organizing Content with Lists and Tables
Introduction to basic HTML
Elements of HTML Web Design – Sec 3-2
Web Development & Design Foundations with HTML5 8th Edition
Elements of HTML Web Design – Sec 3-2
Introduction to the Internet
Web Development & Design Foundations with HTML5 7th Edition
Coding, Testing and Valdating a Web Page
Breaking the mold with CSS
Display Property.
Cascading Style Sheets for layout
Formatted Lists Unordered Lists Usage of Unordered List Ordered Lists
HTML Lists CS 1150 Fall 2016.
LISTS.
AN INTRODUCTORY LESSON TO MAKING A SIMPLE WEB PAGE By: RC Emily Solis
Formatted Lists Unordered Lists Usage of Unordered List Ordered Lists
Elements of HTML Web Design – Sec 3-2
Essentials of HTML.
Essentials of HTML.
Computers and Scientific Thinking David Reed, Creighton University
Web Design and Development
Marking Up with XHTML Tags describe how a web page should look
CGS 3066: Lecture 2 Web Development and HTML5
HTML ELEMENTS Ms. Olifer.
Web Development & Design Foundations with HTML5 8th Edition
Intro to Web Development HTML Structure
HTML Lists CS 1150 Spring 2017.
Formatted Lists Unordered Lists Usage of Unordered List Ordered Lists
Secure Web Programming
Tutorial Working with Block-Level Elements
HTML 5 SEMANTIC ELEMENTS.
Marking Up with XHTML Tags describe how a web page should look
CS3220 Web and Internet Programming HTML and XML Basics
HyperText Markup Language
Marking Up with XHTML Tags describe how a web page should look
Johan Ng and Muhammad Hazzry
Basics of Web Design Chapter 2 HTML Basics Key Concepts
Digging in a little deeper
WJEC GCSE Computer Science
Web Client Side Technologies Raneem Qaddoura
Basics of Web Design Chapter 2 HTML Basics Key Concepts
Web Programming and Design
HTML CS 4640 Programming Languages for Web Applications
Marking Up with XHTML Tags describe how a web page should look
Presentation transcript:

Lists, nesting, span/div

Lists Unordered (Bulleted lists) <ul> <li>First</li> <li>Second</li> <li>Third</li> </ul> Ordered (Numbered) <ol> <li>First</li> <li>Second</li> <li>Third</li> </ol> First Second Third

Lists <ul> and <ol> have 36px of left padding For each <li>, the bullet is positioned at -16px Seeing an example is worth a 1000-word explanation (list_example.html)

Nesting in HTML Lists are a great example of how HTML elements can be nested inside each other to create a hierarchy <ol> <li></li> <li> <ul> </ul> </li> </ol>

Blockquotes <blockquote>The quote goes here</blockquote> Often misused to create indents Indicates a long quotation It is not considered part of the document outline

Pre-formatted text Web browsers ignore extra “white space.” Only one “space” is displayed between words and elements Extra spaces, tabs, and line breaks are not displayed at all. The <pre> tag allows extra spaces, tabs, and line breaks to be displayed. Why do web browsers ignore extra “white space?”

Figures <figure> <img src=“piechart.jpg” alt=“This will pop up”> <figcaption>This will display on screen</figcaption> </figure>

Organizing with new HTML5 tags <header> <footer> <section> <article> <aside> <nav> explain why aside and not sidebary

Time and dates allows us to markup dates and times in a way that is comfortable for a human to read, but also encoded in a standardized way that computers can use. content of element for people; datetime attribute for computer Written by Jennifer Robbins (<time datetime="2012-09-01T 20:00-05:00” pubdate>September 1, 2012, 8pm EST</time>)

Span and Div

Span and Div

Class vs. id

Class vs. id

Class vs. id