Session: 8. © Aptech Ltd. 2Creating Navigational Aids and Division-Based Layout / Session 8  Explain HTML5 semantic tags  Explain HTML5 semantic tag.

Slides:



Advertisements
Similar presentations
Chapter 3 – Web Design Tables & Page Layout
Advertisements

WEB DESIGN TABLES, PAGE LAYOUT AND FORMS. Page Layout Page Layout is an important part of web design Why do you think your page layout is important?
Cascading Style Sheets
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)
Principles of Web Design 5 th Edition Chapter Nine Site Navigation.
SM5312 week 11: CSS Menus & Navigation Bars1 An Introduction to Cascading Style Sheets CSS Menus and Navigation Bars Nick Foxall.
CIS 1310 – HTML & CSS 6 Layout. CIS 1310 – HTML & CSS Learning Outcomes  Describe & Apply the CSS Box Model  Configure Float with CSS  Designate Positioning.
BASICS OF BLOGGING. WHAT IS A BLOG? "Blog" is an abbreviated version of "weblog," which is a term used to describe websites that maintain an ongoing chronicle.
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”
XHTML1 Tables and Lists. XHTML2 Objectives In this chapter, you will: Create basic tables Structure tables Format tables Create lists.
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.
CSS (Cascading Style Sheets): How the web is styled Create Rules that specify how the content of an HTML Element should appear. CSS controls how your web.
TUTORIAL 8: Enhancing a Web Site with Advanced CSS
IMAGES Controlling size of images in CSS Aligning images in CSS Adding background images.
Building the User Interface by Using HTML5: Organization, Input, and Validation Lesson 3.
Working with Cascading Style Sheets. Introducing Cascading Style Sheets Style sheets are files or forms that describe the layout and appearance of a document.
Web Design, 3 rd Edition 4 Planning a Successful Web Site: Part 2.
Copyright © Texas Education Agency, All rights reserved. 1 Web Technologies Website Development with Dreamweaver.
Web Design, 4 th Edition 4 Planning a Successful Web Site: Part 2.
Lesson 4: Using HTML5 Markup.  The distinguishing characteristics of HTML5 syntax  The new HTML5 sectioning elements  Adding support for HTML5 elements.
Chapter 2 Developing a Web Page. A web page is composed of two distinct sections: –The head content –The body Creating Head Content and Setting Page Properties.
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.
Website Development with Dreamweaver
Chapter 2 HTML Basics Key Concepts Copyright © 2013 Terry Ann Morris, Ed.D 1.
Copyright © 2013 MyGraphicsLab / Pearson Education STRUCTURE AND HTML TAGS MyGraphicsLab: Adobe Dreamweaver CS6 ACA Certification Preparation for Web Communication.
The New Elements © Main Menu Structure Media Canvas Form Click on one of the categories below to view information about the new HTML5 elements in.
HTML | DOM. Objectives  HTML – Hypertext Markup Language  Sematic markup  Common tags/elements  Document Object Model (DOM)  Work on page | HTML.
Copyright © Terry Felke-Morris WEB DEVELOPMENT & DESIGN FOUNDATIONS WITH HTML5 7 TH EDITION Chapter 6 Key Concepts 1 Copyright © Terry Felke-Morris.
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.
Week 11 Creating Framed Layouts Objectives Understand the benefits and drawbacks of frames Understand and use frame syntax Customize frame characteristics.
>> HTML: Structure Elements. Elements in HTML are either Inline or Block. Block-level Elements – Begins on a new line – Occupy the whole width – Stacks.
USING WORDPRESS TO CREATE A WEBSITE (RATHER THAN A BLOG) STEP-BY-STEP INSTRUCTIONS.
Use CSS to Implement a Reusable Design Selecting a Dreamweaver CSS Starter Layout is the easiest way to create a page with a CSS layout You can access.
USING WORDPRESS TO CREATE A WEBSITE (RATHER THAN A BLOG) STEP-BY-STEP INSTRUCTIONS.
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.
INT222 - Internet Fundamentals Shi, Yue (Sunny) Office: T2095 SENECA COLLEGE.
INTRODUCTORY Tutorial 5 Using CSS for Layout and Printing.
By Lauren Mayer WEBSITE RESEARCH. NYLON MAGAZINE WEBSITE Header, this is the title of the website and should be the main attraction. This example had.
Today’s Lesson….. 1.Formative Assessment Given Back – Go through Answers. 2.Webpage Design.
Interactive history. To provide a visually attractive and interactive timeline of the major scientific discoveries throughout history.
Web Site Development - Process of planning and creating a website.
Positioning Objects with CSS and Tables
WHY DO YOU NEED IT? What is a wireframe?. A wireframe is… A wireframe is a simple visual guide to show you what a Web page would look like. Wireframes.
XP New Perspectives on Macromedia Dreamweaver MX 2004 Tutorial 5 1 Adding Shared Site Elements.
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.
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
Web Development & Design Foundations with HTML5 7th Edition
Concepts for fluid layout
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 H T M L 5
Web Development & Design Foundations with HTML5
New Semantic Elements (Part 2)
HTML 5 SEMANTIC ELEMENTS.
Web Development & Design Foundations with HTML5
Concepts for fluid layout
5.00 Apply procedures to organize content by using Dreamweaver. (22%)
Web Programming and Design
HTML5 Tags By Dr Derek Peacock
Presentation transcript:

Session: 8

© Aptech Ltd. 2Creating Navigational Aids and Division-Based Layout / Session 8  Explain HTML5 semantic tags  Explain HTML5 semantic tag layouts  Explain the usage of navigation bar  Describe a text-based and graphic navigation bar  Explain image mapping  Explain divisions in HTML5

© Aptech Ltd. 3Creating Navigational Aids and Division-Based Layout / Session 8 Designing a Web site requires the use of a number of elements and principles to get the desired results. Using these principles and elements helps to develop a rich, attractive, efficient, and aesthetically pleasing Web site. Using some HTML tags and graphics does help to develop a useful and efficient Web site. Navigation bar plays an important role in making the Web page user-friendly.

© Aptech Ltd. 4Creating Navigational Aids and Division-Based Layout / Session 8 HTML5 has evolved by introducing new elements that brought semantics to higher level. New tags were developed to create stable semantic structure. Earlier version of HTML had the universal tag div which was used to accomplish various tasks in the HTML structure. Constraint with div tag is that, it confused the user when multiple div tag was used in large coding. HTML5 has introduced two types of semantic tags namely, text-level and structural.

© Aptech Ltd. 5Creating Navigational Aids and Division-Based Layout / Session 8 Section Footer Header Structural Semantic Tags Are block level elements and are used to structure pages. New structural semantic elements are as follows: Aside Nav Article

© Aptech Ltd. 6Creating Navigational Aids and Division-Based Layout / Session 8 Represents a section of a Web document Is similar to a div tag though section element has more semantic meaning Is used for grouping related content Section Is more meaningful as the content inside the section tags should be related

© Aptech Ltd. 7Creating Navigational Aids and Division-Based Layout / Session 8 Represents the header of a Web page Currently Websites uses a single header at the top of the page called masthead Can be used either at the top of the document or at the top of a section Header Is used as a container containing a group of introductory content

© Aptech Ltd. 8Creating Navigational Aids and Division-Based Layout / Session 8 Can be present as the footer either for the document or for the section Has information about the Web document Can have multiple footer elements in an HTML5 document Footer Contains author’s information, copyright information, and so on

© Aptech Ltd. 9Creating Navigational Aids and Division-Based Layout / Session 8 Is used for representing content that is related to the main text of the document Not mandatory to have an aside element aligned to the right or left of a Web page Aligns itself as a sidebar Aside Can be at the top, bottom, or even in the middle of a Web page

© Aptech Ltd. 10Creating Navigational Aids and Division-Based Layout / Session 8 Represents a section of a Web page that contains navigation links/menus to other Web pages Is created for major navigational information Allows the user to navigate through the Web page and site Nav

© Aptech Ltd. 11Creating Navigational Aids and Division-Based Layout / Session 8 Represents a section of content that is independent of a Web page or site content Sources for the article tag are Blog post, News Story, Comment, Review, and so on Is self-contained and stands on its own Article

© Aptech Ltd. 12Creating Navigational Aids and Division-Based Layout / Session 8 Mark Meter Time Text-level Semantic Tags Are currently inline elements. New text-level semantic elements are as follows: Progress

© Aptech Ltd. 13Creating Navigational Aids and Division-Based Layout / Session 8 tag is used for defining marked or highlighted text. tag can be used for highlighting words in a Web page that a visitor searched for.

© Aptech Ltd. 14Creating Navigational Aids and Division-Based Layout / Session 8 tag is used for defining either the time, or a date in the Gregorian calendar. Can be used to encode dates and times in a machine-readable format and is used optionally with a time and a time-zone offset.  Following table lists attribute and value of tag.

© Aptech Ltd. 15Creating Navigational Aids and Division-Based Layout / Session 8  The Code Snippet demonstrates how to display the date and time. 1pm July 15th, pm on July 14th

© Aptech Ltd. 16Creating Navigational Aids and Division-Based Layout / Session 8 tag displays markup or scalar measurement within a defined range. Absolute scalar values, such as height or weight, are not represented automatically by the meter tag. It is also used for displaying fractional value.  The Code Snippet demonstrates how to display the tag. 2 out of 10

© Aptech Ltd. 17Creating Navigational Aids and Division-Based Layout / Session 8  Following table lists attribute and value of tag.

© Aptech Ltd. 18Creating Navigational Aids and Division-Based Layout / Session 8 tag can be used with JavaScript to display the progress of a task.  The Code Snippet demonstrates how to display the tag.  Following table lists attribute and value of tag.

© Aptech Ltd. 19Creating Navigational Aids and Division-Based Layout / Session 8

© Aptech Ltd. 20Creating Navigational Aids and Division-Based Layout / Session 8 element provides introductory information. tag provides information about the entire document. tag is used only for the body of the Web page or for the sections inside the body.  The Code Snippet demonstrates the use of tag. My First Page Sample Blog

© Aptech Ltd.  The Code Snippet demonstrates the use of tag. Sample Blog home help contact 21Creating Navigational Aids and Division-Based Layout / Session 8 nav element is a section which contains the link to other pages or links to different sections within the page. It is a section containing the navigation links.Navigational elements are helpful in identifying large blocks of navigational data.

© Aptech Ltd.  The Code Snippet demonstrates the use of tag. Sample Blog home help contact 22Creating Navigational Aids and Division-Based Layout / Session 8 is the main information bar that contains the most important information of the document. It can be created in different formats. For example, it can be divided into several blocks or columns. Links Link 1 Link 2 Link 3

© Aptech Ltd. Links Link 1 Link 2 Link 3 Archive Number One Archive Number Two  The Code Snippet demonstrates the use of tag. Sample Blog home help contact 23Creating Navigational Aids and Division-Based Layout / Session 8 element is a column or a section that generally contains data linked to the main information. This element is used for typographical effects, such as for sidebars, for groups of nav elements, for advertising purposes, and so on.

© Aptech Ltd. 24Creating Navigational Aids and Division-Based Layout / Session 8 element give an end to the document’s body.A footer typically contains information about the sections. Can include the author or company details, links to related documents, copyright data, and so on.

© Aptech Ltd. 25Creating Navigational Aids and Division-Based Layout / Session 8  The Code Snippet demonstrates the use of tag. Sample Blog home help contact Links Link 1 Link 2 Link 3 Archive Number One Archive Number Two Copyright ©

© Aptech Ltd. 26Creating Navigational Aids and Division-Based Layout / Session 8 element helps to insert a self-contained composition in an application, page, document, or site.  The Code Snippet demonstrates the use of tag. Sample Blog home help contact First Blog entry Second Blog entry Archive Number One Archive Number Two Copyright ©

© Aptech Ltd. 27Creating Navigational Aids and Division-Based Layout / Session 8 Is one of the most important elements in Web design. Web-layouts do not have any specific physical representation except for a consistent navigation menu. Navigation is one segment of a Web site’s information architecture. In Web designing, navigation menu are always on navigation bars, which can be horizontal or vertical. Navigation bar is a section of a Website or online page intended to support visitors in browsing through the online document. Web pages will have a primary and a secondary navigation bar on all pages which will include links to the most important sections of the site.

© Aptech Ltd. 28Creating Navigational Aids and Division-Based Layout / Session 8 Some users browse Web site with graphics turned off, or use browsers with minimum graphics capability. For such situations, it is essential to provide text-based navigation bars which are created as stand-alone navigation bars. Text-based navigation bars are not associated with icons but are easy to create, and can be displayed in any Web browsers. Advantage of using a text-based navigation bar is that it reduces the loading time of a page. Although a text-based navigation bar is easy to create but is not interesting, since there is very less interaction or visual appeal to the visitor. It can be displayed either horizontally or vertically.

© Aptech Ltd. 29Creating Navigational Aids and Division-Based Layout / Session 8  The Code Snippet demonstrates the HTML code for a text-based navigation bar. Home | News | Contact | About This is a Text-based Navigation Bar

© Aptech Ltd. 30Creating Navigational Aids and Division-Based Layout / Session 8 Is more captivating than text-based navigation bar as it uses icons. Increases the usability of the page with a good choice of icon for the navigation bar. Also, makes the Web site more noticeable for the user visiting the Web site. Disadvantage is that, since it uses images, it takes longer time for a page to load. Also, the Web page will be useless for users using a non-graphic browser.

© Aptech Ltd. 31Creating Navigational Aids and Division-Based Layout / Session 8 Similar to the graphical navigation bar except for additional feature. Moving the mouse over the linked image leads to a change in the state of image. State change of image leads to an image swapping process. When the mouse is moved off the image, the image swaps back to the previous view. This rollover effect creates an interactive activity between the Web site and the visitor. Rollover effect has two different activities that include the image in the original view and the changed image after mouse rollover.

© Aptech Ltd. 32Creating Navigational Aids and Division-Based Layout / Session 8 Are images with clickable areas. Areas in image-maps when clicked will link to another page. Have to be used intelligently to make it effective.Uses the tag to define an image-map. element contains a number of elements for defining the clickable areas in the image map. The id attribute of the tag when specified, must have the same value as the name attribute.

© Aptech Ltd. 33Creating Navigational Aids and Division-Based Layout / Session 8  Following table lists the tag attribute and its value. Use the tag to insert and link an image. In the tag, use the usemap attribute to define the image map name. Use the tag to create a map with the same name. Inside this tag, define the clickable areas with the tag. Guidelines to create an image map:

© Aptech Ltd. 34Creating Navigational Aids and Division-Based Layout / Session 8  The Code Snippet demonstrates the use of image map in an HTML code.

© Aptech Ltd. 35Creating Navigational Aids and Division-Based Layout / Session 8 tag defines a division in an HTML Web page. Is used to group block-elements and format them with CSS. New structural semantic tags reasonably reduce a lot of tag’s usage. tag can be used when there is no other semantically appropriate element left that suits the purpose in a Web page development. It can be commonly used for stylistic purposes such as wrapping some semantically marked-up content in a CSS-styled container.

© Aptech Ltd. 36Creating Navigational Aids and Division-Based Layout / Session 8  The Code Snippet demonstrates the use of tag. Hello  Tips for using tag in Web site development are as follows:  tag is a block-level element  tag can contain any other tag  tag can be found inside any element that can contain flow elements, such as other,,, and

© Aptech Ltd. 37Creating Navigational Aids and Division-Based Layout / Session 8 Elements can be positioned using the top, bottom, left, and right properties. These properties will not work unless the position of the property is set. There are five position properties in DIV elements namely, static, relative, absolute, fixed, and inherit. Only three properties are used namely, absolute, relative, and fixed.Positioning can be applied to any block element.Default position for a block element (DIV) is static.

© Aptech Ltd. 38Creating Navigational Aids and Division-Based Layout / Session 8  Following table shows the values and its description used in DIV element.

© Aptech Ltd. 39Creating Navigational Aids and Division-Based Layout / Session 8  HTML 5 has introduced two types of semantic tags. They are namely, text-level and structural. Structural semantic tags are as follows:  Section  Header  Footer  Aside  Nav  Article  Text level semantic tags are as follows:  Mark  Time  Meter  Progress  Navigation is the most significant element in Web design. Since Web-layouts does not have any physical representation, a user can depend on consistent navigation menu.

© Aptech Ltd. 40Creating Navigational Aids and Division-Based Layout / Session 8  Text-based navigation bars are created as stand-alone navigation bars that are not associated with icons. Text-based navigation bar is easy to create and can be displayed in any Web browsers.  Graphical navigation bar is better than text-based navigation as it gives a visual appeal to the visiting users.  The new structural semantic tags reasonably capture a lot of ‘s territory, but tag still has a place in the HTML5 world. Div can be used when there is no other semantically appropriate element left that suits the purpose in a Web page development.