>> HTML: Structure Elements. Elements in HTML are either Inline or Block. Block-level Elements – Begins on a new line – Occupy the whole width – Stacks.

Slides:



Advertisements
Similar presentations
JQuery Mobile. Benefits Required links Remember that we need to add the links to the head, in this order.
Advertisements

Introduction to HTML & CSS
Copyright © Terry Felke-Morris WEB DEVELOPMENT & DESIGN FOUNDATIONS WITH HTML5 Chapter 6 Key Concepts 1 Copyright © Terry Felke-Morris.
Copyright © Terry Felke-Morris WEB DEVELOPMENT & DESIGN FOUNDATIONS WITH HTML5 Chapter 6 Key Concepts 1 Copyright © Terry Felke-Morris.
New Semantic Elements (Part 2)
Part 5 Introduction to CSS. CSS Display - Block and Inline Elements A block element is an element that takes up the full width available, and has a line.
CIS 1310 – HTML & CSS 6 Layout. CIS 1310 – HTML & CSS Learning Outcomes  Describe & Apply the CSS Box Model  Configure Float with CSS  Designate Positioning.
CONCEPTS FOR FLUID LAYOUT Web Page Layout. Website Layouts Most websites have organized their content in multiple columns (formatted like a magazine or.
Neal Stublen A Basic Template  HTML doctype Much simpler than HTML4/XHTML  Title and meta content Again simpler than “Content-Type”
 CSS ids  Pages  Sites  HTML: class=“name”  Names may define format OR content › Either works  CAN apply multiple classes to the same tag  Multiple.
CSS, cont. October 7, Unit 4. Generic Containers Currently, we know how to modify the properties of HTML tags using style sheets But, we can only modify.
Purpose Tags are the key to marking up content on your HTML page. It’s the tags that mark up sections of the page and are defined (aesthetically) on the.
IMAGES Controlling size of images in CSS Aligning images in CSS Adding background images.
Creating A Simple Web Page. Step 1- Open Dreamweaver & Create A New Page (File New) and blank.
IPUB 100 Lesson 2 Instructor Mark Lamontagne Homework Review.
Building the User Interface by Using HTML5: Organization, Input, and Validation Lesson 3.
Eat Your Words! Creating webpage Layout. CONTENT The Layout of a Webpage HEADER FOOTER Each of these sections represents a ‘div’ (or divider). By linking.
Lesson 4: Using HTML5 Markup.  The distinguishing characteristics of HTML5 syntax  The new HTML5 sectioning elements  Adding support for HTML5 elements.
Cascading Style Sheets CSS. CSS Positioning Normal Flow Top -> bottom | left -> right Arranged in the order they appear in the code make room for one.
Cascading Style Sheets CSS. div … Used like a container to group content Gives context to the elements in the grouping Give it a descriptive name with.
HTML and CSS- Layout. HTML Layout Frame Table – Block HTML5 layout elements.
Copyright © Terry Felke-Morris WEB DEVELOPMENT & DESIGN FOUNDATIONS WITH HTML5 7 TH EDITION Chapter 6 Key Concepts 1 Copyright © Terry Felke-Morris.
CONCEPTS FOR FLUID LAYOUT Web Page Layout. Website Layouts Most websites have organized their content in multiple columns (formatted like a magazine or.
Chapter 2 HTML Basics Key Concepts Copyright © 2013 Terry Ann Morris, Ed.D 1.
>> Introduction to HTML: Tables. HTML is used to give websites structure 5 Basic Tags Element = Start-Tag+Content+End-Tag Heading Tags [h1-h6] Paragraph.
HTML5 Sections Old structuring elements –body, div, address, blockquote –headings: h1, h2, h3, … –ul, ol, table New structuring elements –header, footer,
Copyright © Terry Felke-Morris WEB DEVELOPMENT & DESIGN FOUNDATIONS WITH HTML5 7 TH EDITION Chapter 6 Key Concepts 1 Copyright © Terry Felke-Morris.
HTML | DOM. Objectives  HTML – Hypertext Markup Language  Sematic markup  Common tags/elements  Document Object Model (DOM)  Work on page | HTML.
Copyright 2007, Information Builders. Slide 1 Understanding Basic HTML Amanda Regan Technical Director June, 2008.
INTRODUCTION TO HTML5 Semantic Layout in HTML5.  The new semantic layout in HTML5 refers to a new class of elements that is designed to help you understand.
Lesson 02 // Elements & Attributes. There are different types of elements, but the 2 most important ones are BLOCK and INLINE. Block elements flow from.
Interface Programming 1 Week 3. Interface Programming 1 CALENDAR.
HTML.
1 © Netskills Quality Internet Training, University of Newcastle Using Style Sheets in Dreamweaver CS © Netskills, Quality Internet Training, University.
Copyright © Terry Felke-Morris WEB DEVELOPMENT & DESIGN FOUNDATIONS WITH HTML5 Chapter 6 Key Concepts 1 Copyright © Terry Felke-Morris.
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.
Basic HTML Document Structure. Slide 2 Goals (XHTML HTML5) XHTML Separate document structure and content from document formatting HTML 5 Create a formal.
Session: 8. © Aptech Ltd. 2Creating Navigational Aids and Division-Based Layout / Session 8  Explain HTML5 semantic tags  Explain HTML5 semantic tag.
Practice for Chapter 3: Assume that you are a freelance web designer and need to create a website to promote your freelance company.
BEGINNER WEB DESIGN. INTRODUCTION Vocabulary Design Tools of the Trade HTML CSS.
2.4. Choose and configure HTML5 tags to organize content and forms Choose and configure HTML5 tags for input and validation. Building the User Interface.
CSS Layout Cascading Style Sheets. Lesson Overview  In this lesson, we’ll cover:  Brief CSS review  Creating sections with the tag  Creating inline.
HTML LAYOUTS. CONTENTS Layouts Example Layout Using Element Example Using Table Example Output Summary Exercise.
INTRODUCTION ABOUT DIV Most websites have put their content in multiple columns. Multiple columns are created by using or elements. The div element is.
CONCEPTS FOR FLUID LAYOUT Web Page Layout. Essential Questions What challenges do mobile devices present to Web designers? What are the basic concepts.
Week 1: Introduction to HTML and Web Design
Cascading Style Sheets for layout
>> HTML: Tags – Hyperlink, Media, Lists
Web Development & Design Foundations with HTML5 7th Edition
CSS Layouts: Positioning and Navbars
Organizing Content with Lists and Tables
>> Introduction to CSS
Concepts for fluid layout
Web Development & Design Foundations with HTML5 8th Edition
Web Development & Design Foundations with HTML5 7th Edition
Web Development & Design Foundations with HTML5
Styles and the Box Model
Laying out a website using CSS and HTML
Web Development & Design Foundations with HTML5 8th Edition
Web Development & Design Foundations with H T M L 5
Web Development & Design Foundations with HTML5
New Semantic Elements (Part 2)
HTML / CSS Mai Moustafa Senior Web Designer eSpace eSpace.
HTML 5 SEMANTIC ELEMENTS.
Web Development & Design Foundations with HTML5
Multipage Sites.
Concepts for fluid layout
HTML5 Tags By Dr Derek Peacock
Monday, Sept. 24 Today we are going to update the html code to html5. It has some new features that we have not covered yet.
Presentation transcript:

>> HTML: Structure Elements

Elements in HTML are either Inline or Block. Block-level Elements – Begins on a new line – Occupy the whole width – Stacks on top of one another – Example:, ……. Web-Based Systems - Misbhauddin 2 Element Types in HTML

Inline-level Elements – Do not begin on a new line – Within the normal flow of the document – Line up one after the other – Occupy the width of the element only – Example:, Web-Based Systems - Misbhauddin 3 Element Types in HTML

Two most popular tags used in HTML without any meaning (semantics) – DIV tag and SPAN tag Extremely valuable when building a website Apply targeted styles to a contained set of elements Web-Based Systems - Misbhauddin 4 DIV & SPAN Tags

DIV Tag Web-Based Systems - Misbhauddin 5 Block-level Tag Means “Division” Purpose: Group other elements together Why used: to apply same structure and style to them as they are related Use I may be found on... Additionally, I have a profile on...

Span Tag Web-Based Systems - Misbhauddin 6 Inline-level Tag Purpose: Small group of elements within other block-level elements Why used: To apply different style to a part of the block-level element Use Soon we'll be writing HTML with the best of them. We will use this when styling in CSS

Common Attributes in HTML Class Attribute: Assigns a common name to a group of elements. The same class name can be used for different elements …….. ……… ID Attribute: Assigns a unique name to an element. It cannot be repeated within the document …….. Web-based Systems | Misbhauddin 7

Web-Based Systems - Misbhauddin 8 HTML Document Structure Header Article Section Aside Footer

Web-Based Systems - Misbhauddin 9 Typical HTML structure was done using DIV Tags with id/class attributes HTML Structure ……. …….. ………….. …….. ………….. …….

Web-Based Systems - Misbhauddin 10 DIV tags have no semantic value (or meaning) Should use class or id names to assign meaning or purpose to DIV tags Too many DIV tags in the document – divitis DIV USE ISSUE

Web-Based Systems - Misbhauddin 11 HTML 5 handled the issue Introduced new structural tags – HTML 5 Structure Elements

Web-Based Systems - Misbhauddin 12 Used to identify the top of the page or the top of a section or the top of an article It include introduction text such as logo, title or heading (h1 to h6 tags) ………. Header Element Open the page created in the previous class Create a header tag immediately after the body tag Within that tag, create a tag with your name TRY NOW

Web-Based Systems - Misbhauddin 13 Used to include the major navigation links on the page – menu bar or sitemap Will use it later in next class ………. Nav Element

Web-Based Systems - Misbhauddin 14 Used to group contents together on the page Each section may also have its own header element ………. Section Element Create a section after the header element Put the previous class code (h1 and p) inside the section Within the section, create a header tag and put the h2 tag inside it TRY NOW

Web-Based Systems - Misbhauddin 15 Identify individual self-contained content on the page blog posts, newspaper articles, user- submitted content, and so on. ………. Article Element Put all the p tags inside the article element TRY NOW

Web-Based Systems - Misbhauddin 16 Contain content not directly related to the main content Sidebar, definitions, descriptions ………. Aside Element

Web-Based Systems - Misbhauddin 17 Identify closing or end of page or article or section of a page Found at the bottom of the page/section ………. Footer Element Add a footer element to the page after the section element Add copyright to the page © 2015 Your Name TRY NOW

Web-Based Systems - Misbhauddin 18 You will see that all your elements are stacked on top of one another Because we did not position or layout them properly We will learn Layouts in CSS Position and Layout

Web-Based Systems - Misbhauddin 19 DIV and Span Tags ID and Class Attributes HTML 5 Structure Tags – Header, Nav, Section, Article, Aside and Footer Summary