Robert Kiffe Senior Customer Support Engineer

Slides:



Advertisements
Similar presentations
Coding a Responsive HTML
Advertisements

CSS Layout Crash Course An Advance CSS Tutorial. Inline vs. Block Many HTML elements have a default display setting of Block. Block elements take up the.
Cascading Style Sheets
Today CSS HTML A project.
Web Pages and Style Sheets Bert Wachsmuth. HTML versus XHTML XHTML is a stricter version of HTML: HTML + stricter rules = XHTML. XHTML Rule violations:
CONCEPTS FOR FLUID LAYOUT Web Page Layout. Website Layouts Most websites have organized their content in multiple columns (formatted like a magazine or.
Using Cascading Style Sheets CSS Basics. Goals Understand basic syntax of Cascading Style Sheets (CSS) Understand basic syntax of Cascading Style Sheets.
Outline IS400: Development of Business Applications on the Internet Fall 2004 Instructor: Dr. Boris Jukic CSS: Cascading Style Sheets.
Cascading Style Sheets Controlling the Display Of Web Content.
XHTML and CSS Overview. Hypertext Markup Language A set of markup tags and associated syntax rules Unlike a programming language, you cannot describe.
4.01 Cascading Style Sheets
CISC 474: Advanced Web Technologies HTML5 & CSS3, & Responsive Design.
TUTORIAL 8: Enhancing a Web Site with Advanced CSS
IMAGES Controlling size of images in CSS Aligning images in CSS Adding background images.
Chapter 11 Cascading Style Sheets: Part I The Web Warrior Guide to Web Design Technologies.
XP Tutorial 7New Perspectives on Creating Web Pages with HTML, XHTML, and XML 1 Working with Cascading Style Sheets Creating a Style for Online Scrapbooks.
CSS – Presentation of Information. Types of Style Sheets External Embedded h1{color:red; font-family: Arial;} Inline Text is here.
CONCEPTS FOR FLUID LAYOUT Web Page Layout. Website Layouts Most websites have organized their content in multiple columns (formatted like a magazine or.
 This presentation introduces the following: › 3 types of CSS › CSS syntax › CSS comments › CSS and color › The box model.
WRT235: Writing in Electronic Environments CSS Classes, IDs, divs.
Lecture 2 - HTML and CSS Review SFDV3011 – Advanced Web Development 1.
WEB DEVELOPMENT IMMERSIVE BUILDING PAGE LAYOUTS. 2 Box Model Scaling Positioning Boxes Box Aesthetics HTML 5 Semantic Tags CSS Resets TOPICS GENERAL ASSEMBLYWEB.
HTML with Style!. What is a Style Sheet? CSS? Style Sheet CSSCascading Style Sheets A “language” for defining style rules. Rules that tell the browser.
BEGINNER WEB DESIGN. INTRODUCTION Vocabulary Design Tools of the Trade HTML CSS.
Chapter 5 pp HTML Elements & Attributes Format Content Or Examples This Text Is A Hyperlink.
HTML 5 AND CSS Dr Mohd Soperi Mohd Zahid Semester /16.
Tutorial 5 Working with Web Tables. New Perspectives on HTML, XHTML, and XML, Comprehensive, 3rd Edition 2 Objectives Learn and Apply the structure of.
Introduction to Programming the WWW I CMSC Summer 2004 Lecture 8.
CONCEPTS FOR FLUID LAYOUT Web Page Layout. Essential Questions What challenges do mobile devices present to Web designers? What are the basic concepts.
CSS Introductions. Objectives To take control of the appearance of a Web site by creating style sheets. To use a style sheet to give all the pages of.
Blended HTML and CSS Fundamentals 3 rd EDITION Tutorial 1 Using HTML to Create Web Pages.
CSS (Cascading Style Sheets). CSS CSS – Cascading Style Sheets – Cascade because of the way CSS rules can stack on top of each other. Allows you to add.
CSS.
Working with Cascading Style Sheets
HTML CS 4640 Programming Languages for Web Applications
CSCI 1720 W3.CSS – Part 1 East Tennessee State University Department of Computing CSCI 1720 Intermediate Web Design.
CS3220 Web and Internet Programming CSS Basics
Cascading Style Sheets™ (CSS)
4.01 Cascading Style Sheets
CSS Layouts: Grouping Elements
Concepts for fluid layout
Cascading Style Sheets
Cao Yuewen SEEM4570 Tutorial 03: CSS Cao Yuewen
Coding, Testing and Valdating a Web Page
Using Cascading Style Sheets Module B: CSS Structure
>> CSS Layouts.
Cascading Style Sheets
CSS.
Objectives Create a reset style sheet Explore page layout designs
Styles and the Box Model
Fixed Positioning.
MORE Cascading Style Sheets (The Positioning Model)
Software Engineering for Internet Applications
Nov. 1, 2018 Drop-down menu.
CS3220 Web and Internet Programming CSS Basics
HTML / CSS Mai Moustafa Senior Web Designer eSpace eSpace.
CS3220 Web and Internet Programming CSS Basics
Laying out Elements with CSS
Web Client Side Technologies Raneem Qaddoura
Cascading Style Sheets
Web Client Side Technologies Raneem Qaddoura
Concepts for fluid layout
4.01 Cascading Style Sheets
Web Programming and Design
Introduction to Cascading Style Sheets (CSS)
Various mobile devices
Cascading Style Sheets™ (CSS)
HTML CS 4640 Programming Languages for Web Applications
Presentation transcript:

Robert Kiffe Senior Customer Support Engineer HTML and CSS WEB 101: Robert Kiffe Senior Customer Support Engineer

Who Am I? I’m Tired #dadjokes

Why are you here? You work for a university/business that operates a website That website attracts paying students (customers) You are paid to know how that website works You told your boss you would learn something new, just so that you could come to Southern California You could be in Disneyland right now …

Agenda Background HTML Basics CSS Basics Responsive Design Build a page CSS Basics Style that page Responsive Design CSS Frameworks Build a Bootstrap Page Profit

HTML Background What is the full name of HTML Hypertext Markup Language What year was HTML 1.0 officially born? 1993 What year was XML 1.0 officially born? 1998 What year was XHTML born? 2000 What year was HTML5 ‘officially’ released? 2014 What year did IE 6 die, and the World Wide Web celebrate? 2015

HTML Syntax Core components All together: Element Tag Attribute div id="main“ All together: *Recommended Online Tutorial: https://learn.shayhowe.com/html-css/

HTML Basic Structure <!DOCTYPE html> <html lang="en"> <!-- HTML5 --> <head> <meta charset="utf-8"> <title>Hello World</title> </head> <body> <h1>Hello World</h1> <p>This is a web page.</p> </body> </html>

Block vs Inline Elements Browsers typically display the block-level element with a newline both before and after the element. You can visualize them as a stack of boxes. Examples: div, p, h1 Inline Inline elements are those which only occupy the space bounded by the tags defining the element, instead of breaking the flow of the content. Examples: span, a, img

CSS: Cascading Stylesheets Separates design from the content Core Components Selectors p { … } Properties font-size Values 12pt All Together: p { font-size: 12pt; }

Common Selectors Element ID attribute Combined HTML: <p>This is a web page.</p> CSS: p { … } ID attribute HTML: <p id="main">This is a web page.</p> CSS: #main { … } HTML: <p class="lead">This is a web page.</p> CSS: .lead { … } Combined HTML: <p id="main" class="lead">This is a web page.</p> CSS: p#main.lead { … }

Box Model Every HTML item has a base set of properties that define its dimensions and spacing around it Width – Horizontal dimension Height – Vertical dimension Padding – Spacing for content inside the region Border – outline of region Margin – spacing outside of region

Values: Common Size Units % Percentage of the encapsulating region Example: div {width: 25%;} px Screen Pixels Example: p {padding: 25px;} pt Defines a measurement in points. A point is defined as 1/72nd of an inch. Example: body {font-size: 18pt;} em A relative measurement for the height of a font in em spaces. Because an em unit is equivalent to the size of a given font, if you assign a font to 12pt, each "em" unit would be 12pt; thus, 2em would be 24pt. Example: p {letter-spacing: 7em;}

What’s New With HTML5 Semantic Elements Form Input Types Video/Media Article, aside, header, footer, etc. Form Input Types Email, url, tel, number, range, date, etc. Example: <input type="email"> Video/Media Native handling Multiple sizes

Before HTML5

After HTML5

What’s New With HTML5 (cont’d) Boolean Attributes <input type="email" autofocus> <input type="email" autofocus="true"> <input type="email" autofocus="false"> <input type="email" autofocus="autofocus"> (Safest for XML)

Browser Compatibility HTML 5 + W3C Validation CSS Reset Big Browsers Chrome Current King Desktop + Android Safari iPhone + MacOS Internet Explorer 10+ (Yay!) Edge

Responsive Design Usage: Mobile surpassing Desktop Media Queries: Desktop -> Tablet -> Mobile http://commons.wikimedia.org/wiki/File:Responsive_Web_Design_for_Desktop,_Notebook,_Tablet_and_Mobile_Phone.png

Media Queries Define CSS settings based on browser dimensions Typically set to three widths Mobile Tablet Desktop Example: @media (min-width: 1024px) { ... }

CSS Frameworks Most Popular: Built in: Bootstrap: https://getbootstrap.com Foundation: https://foundation.zurb.com/ Built in: CSS Reset for browser compatibility Grid system for easy structure Consistent typography Responsive Design Kitchen Sink of pre-made widgets/components Etc.

Accessibility & W3C Compliance W3C Validation https://validator.w3c.org Accessibility Checks https://achecker.ca Higher education websites generally have to comply with the following: WCAG 2.0 (Level AA) Section 508

Thank you. Robert Kiffe Sr. Customer Support Engineer OmniUpdate 805-484-9400 ext 223 rkiffe@omniupdate.com outc18.com/surveys