SOEN 287 Web programming Tutorial 03- HTML5 & CSS

Slides:



Advertisements
Similar presentations
Designing Websites Using HTML and FrontPage A Typical Webpage View Source A webpage is a text file containing instructions to tell a computer how the.
Advertisements

16 HTML Tables and Frames Section 16.1 Create a basic table using HTML Define borders Merge cells Align content in tables Section 16.2 Create a frames-based.
MSc. Publishing on WWW Tables and Style Sheets. Tables Tables are used to: Organize and display tabular data To create a layout for web pages.
 CSS ids  Pages  Sites  HTML: class=“name”  Names may define format OR content › Either works  CAN apply multiple classes to the same tag  Multiple.
Cascading Style Sheets Controlling the Display Of Web Content.
TUTORIAL 8: Enhancing a Web Site with Advanced CSS
Basics of HTML Shashanka Rao. Learning Objectives 1. HTML Overview 2. Head, Body, Title and Meta Elements 3.Heading, Paragraph Elements and Special Characters.
 HTML stands for Hyper Text Mark-up Language. The coding language used to create documents for the World Wide Web  HTML is composed of tags. HTML tags.
Neal Stublen Course Road Map  Create web page layouts using CSS  Manage CSS  Test website validity  Create navigation menus using.
1 HTML Frames
Using Frames in a Website GMU November 12-13, 2004.
Chapter 2 Web Page Design Mr. Gironda. Elements of a Web Page These are things that most web pages use.
Interface Programming 1 Week 3. Interface Programming 1 CALENDAR.
Course created by Sarah Phillips BBCD Melbourne BAPDCOM Version 1 – April 2013.
Internet Technology Dr Jing LU Updated Dr Violet Snell / Dr Kalin Penev 1 Internet Technology (week 6)  Recap: Validating HTML  Page Layout.
INTRODUCTORY Tutorial 5 Using CSS for Layout and Printing.
CSS Positioning & Layout Creating layouts and controlling elements.
Department of Computer Science, Florida State University CGS 3066: Web Programming and Design Spring
Today’s objectives  Announcements  Positioning  Measurement units.
Introduction to Programming the WWW I CMSC Winter 2003 Lecture 5.
Fundamentals of Web DevelopmentRandy Connolly and Ricardo Hoar Textbook to be published by Pearson Ed in early Bootstrap.
Basic HTML Page 1. First Open Windows Notepad to type your HTML code 2.
INTRODUCTION ABOUT DIV Most websites have put their content in multiple columns. Multiple columns are created by using or elements. The div element is.
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.
Creating Web Documents CSS examples (do more later) Lab/Homework: Read chapters 15 & 16. Work on Project 3, do postings.
HTML Structure & syntax
Getting Started with HTML
Cascading Style Sheets (CSS) Internal Style Sheets Classes
External Style Sheets.
Cascading Style Sheets
Web Development & Design Foundations with HTML5
CSS Nick Sims.
HTML – The COMPUTING UNLOCKED GUIDE
HTML5 Basics.
Webpage layout using CSS
>> Introduction to CSS
Cao Yuewen SEEM4570 Tutorial 03: CSS Cao Yuewen
INTRODUCTION TO HTML AND CSS
IS 360 Declaring CSS Styles
Web Development & Design Foundations with HTML5
Intro to Web Development Class A Review
Intro to CSS CS 1150 Fall 2016.
Filezilla problems continuing
Intro to CSS CS 1150 Spring 2017.
CSS.
Styles and the Box Model
TOPICS Chrome Dev Tools Process for Building a Static Website
Laying out a website using CSS and HTML
Fixed Positioning.
Controlling Layout with Style Sheets
Software Engineering for Internet Applications
DynamicHTML Cascading Style Sheet Internet Technology.
CS134 Web Design & Development
The Internet 10/6/11 Cascading Style Sheets
Cascading Style Sheets™ (CSS)
DynamicHTML Cascading Style Sheet Internet Technology.
Intro to Web Development Links
INTRODUCTION TO HTML AND CSS
Tutorial 4 Creating Special Effects with CSS
CSS.
Creating a simple web page
HTML – The COMPUTING UNLOCKED GUIDE
Web Design & Development
HTML Basics Mr. Fazzalari.
5.00 Apply procedures to organize content by using Dreamweaver. (22%)
Creating your website and learning HTML
CSc 337 Lecture 5: Grid layout.
Introduction to Cascading Style Sheets (CSS)
CGS 3066: Web Programming and Design Fall 2019
HTML5 and CSS3 Illustrated Unit B: Getting Started with HTML
Presentation transcript:

SOEN 287 Web programming Tutorial 03- HTML5 & CSS Tutorial Sections SA, SB & UA Florian Bobier-Boisvert

Basic Template <!DOCTYPE html> <html> <head> <meta charset=“UTF-8”> <title>Title of the document</title> </head> <body> <!– Content of the body --> </body> </html>

Layout There are no limitations to what a layout can be. The specifications of your project is what will determine ultimately what your webpage has to look like. Both HTML5 and CSS have the ability to alter a websites layout. HTML5 is used to create containers which can be modified and modelled with the help of CSS. What are specific components of HTML5 or CSS that can be used to alter the layout of a webpage?

External CSS Reminder To be applied on a webpage a CSS file must be referenced in the head of said webpage. <link rel=“stylesheet” type=“text/css” href=“style.css”/>

CSS Positioning There are a few different types of positioning in CSS with distinctively useful attributes. Fixed: The container will be fixed to the browser window and will not react to scrolling. Relative: Modifications to the layout will occur using the original position as point of reference. Absolute: These containers will be positioned relative to the first parent element that is not static. (The <html> tag is the ultimate parent) What are we missing? Someone who doesn’t know the answer to look it up

CSS Values CSS supports 4 types of values: px: pixels pt: points em: 1em = current font size %: % of the current font size What is the difference between these units? idem

Columns Exercise 1

Columns Exercise 2

Columns Exercise 3

Floating Navigation Bar Create a header space in which to put a website title. Create a container for a navigation bar. Make at least 3 linked pages available Create a content area (will stay empty for now) Create and setup the appropriate CSS to make the navigation bar float as the page scrolls, all its items are aligned horizontally.

References Online http://www.w3schools.com/