HTML tips BTM 395: Internet Programming. Components of website development Content Structure Format and design Dynamics and interactivity –Forms –Client-side.

Slides:



Advertisements
Similar presentations
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?
Advertisements

XHTML Week Two Web Design. 2 What is XHTML? XHTML is the current standard for HTML Newest generation of HTML (post-HTML 4) but has many new features which.
Copyright © Terry Felke-Morris WEB DEVELOPMENT & DESIGN FOUNDATIONS WITH HTML5 Chapter 4 Key Concepts 1 Copyright © Terry Felke-Morris.
CS134 Web Design & Development Attributes, Lists, Tables, Links, and Images Mehmud Abliz.
 2003 Prentice Hall, Inc. All rights reserved. Chapter 4 - Introduction to XHTML: Part 1 Outline 4.1 Introduction 4.2 Editing XHTML 4.3 First XHTML Example.
Tutorial 1 Developing a Basic Web Page
 2004 Prentice Hall, Inc. All rights reserved. Introduction to XHTML: Part 1.
Designing for Web stuff you need to know before you start.
 2003 Prentice Hall, Inc. All rights reserved. Chapter 4 - Introduction to XHTML: Part 1 Outline 4.1 Introduction 4.2 Editing XHTML 4.3 First XHTML Example.
Chapter 3 Adding Images in HTML. Agenda Understanding Web Page Images Prepare Your Images for the Web Insert an Image Specify an Image Size Add Alternative.
BASIC HTML TUTORIAL Amber Brady. HTML tags are keywords surrounded by angle brackets like HTML tags normally come in pairs like and The first tag in a.
_______________________________________________________________________________________________________________ E-Commerce: Fundamentals and Applications1.
Chapter 2 HTML (Hypertext Markup Language) Part I.
Creating a Basic Web Page
Programming I 2 nd lecture. Block-level and inline elements BlockInline block-level elements generally can contain text, data, inline elements, or other.
Today’s objectives  Complete web page  Using xhtml & CSS  Adding CSS to documents Embed url(File);  CSS.
HTML (HyperText Markup Language)
XHTML Images. Images are important Purpose: to enhance your web site. Add only when they complement or add additional impact to your message.
CIT 256 Dreamweaver Intro. Dr. Beryl Hoffman. Start Dreamweaver Start from Start Menu/Adobe Master Collection CS6/ Adobe Dreamweaver CS6 Choose Create.
HTML Hyper-Text Markup Language or tags. HTML is a “tag” language Open and close tags Tags identified with angle brackets Basic format content (shorthand.
HTML | DOM. Objectives  HTML – Hypertext Markup Language  Sematic markup  Common tags/elements  Document Object Model (DOM)  Work on page | HTML.
HTML | DOM. Objectives  HTML – Hypertext Markup Language  Sematic markup  Common tags/elements  Document Object Model (DOM)  Work on page | HTML.
 2008 Pearson Education, Inc. All rights reserved Introduction to XHTML.
XP 2 HTML Tutorial 1: Developing a Basic Web Page.
XHTML TAGS I Basic Tags. North Lake College 2 by Sean Griffin Sample XHTML Code.
Copyright © Osmosys O S M O S Y SO S M O S Y S D e p l o y i n g E x p e r i e n c e & E x p e r t i s e™ HTML Training.
Ali Alshowaish. What is HTML? HTML stands for Hyper Text Markup Language Specifically created to make World Wide Web pages Web authoring software language.
Abigail morris.  Today I'm going to be explaining why the Internet relies on a number of protocols in order to function properly.  A protocol is simply.
INT222 - Internet Fundamentals Shi, Yue (Sunny) Office: T2095 SENECA COLLEGE.
HTML HyperText Markup Language ©Richard L. Goldman July 15, 2003.
Web Design and Development. World Wide Web  World Wide Web (WWW or W3), collection of globally distributed text and multimedia documents and files 
Introduction to HTML. _______________________________________________________________________________________________________________ 2 Outline Key issues.
HTML 5 The Future of Web Development. What is HTML5? “HTML5 is a specification of how the web’s core language, HTML, should be formatted and utilized.
GRAPHICS. PURPOSE OF GRAPHICS IN WEB DESIGN Graphics add visual/aesthetic appeal to the information on the web page, helping to maintain viewer interest.
Internet & World Wide Web How to Program, 5/e Copyright © Pearson, Inc All Rights Reserved.
XP 2 HTML Tutorial 1: Developing a Basic Web Page.
(1) HTML5, CSS, Twitter Bootstrap. (2) HTML5 Will be the new standard New features Drag and Drop and Support for local storage,,,, New input types Removed.
XP 1 HTML Tutorial 1: Developing a Basic Web Page.
CSCI 3100 Tutorial 2 Web Development Tools 1 HTML 5 & CSS 3 1.
Elements & Attributes. There are different types of elements, but the 2 most important ones are BLOCK and INLINE. Block elements flow from top to bottom.
OCR Computing OGAT Web Technologies. What OCR need you to know… You are expected to have a working knowledge of the above web languages.
Week 1: Introduction to HTML and Web Design
Basic concepts of web design
HTML Extra Markup CS 1150 Spring 2017.
HTML & CSS Jan Janoušek.
HTML CS 4640 Programming Languages for Web Applications
Web Systems & Technologies
CGS 3066: Lecture 2 Web Development and HTML5
Basic HTML Tutorial Amber Brady.
CSS Layouts: Grouping Elements
HTML: HyperText Markup Language
Elements of HTML Web Design – Sec 3-2
Essential Skills for Computing Introduction
DW Tutorial 5 Sessions 5.1 & 5.2 REVIEW
Chapter 1: Introduction to XHTML (part 1)
Elements of HTML Web Design – Sec 3-2
Chapter 4 - Introduction to XHTML: Part 1
HTML Images CS 1150 Spring 2017.
Web development with SharePoint, HTML & CSS
Essentials of Web Pages
Create and edit web pages 2
CGS 3066: Lecture 2 Web Development and HTML5
Introduction to HTML- Basics
Ground to Roof HTML/HTML5
HTML Images CS 1150 Fall 2016.
Computer communications
CS3220 Web and Internet Programming HTML and XML Basics
HTML5 - 2 Forms, Frames, Graphics.
Web Client Side Technologies Raneem Qaddoura
HTML CS 4640 Programming Languages for Web Applications
Presentation transcript:

HTML tips BTM 395: Internet Programming

Components of website development Content Structure Format and design Dynamics and interactivity –Forms –Client-side programming –Server-side programming –Databases Frameworks and content management systems

Structure and semantic markup HTML vs. XHTML vs. HTML5 –HTML: Lets you get away with murder –XHTML: Strict conformation to standards, or else the page breaks –HTML5: Strikes a balance: Flexible in what it allows, But strict in enforcing semantic markup HTML5 strictly for marking up page structure, not for formatting page appearance –CSS handles appearance –HTML5 has dropped many HTML features used to format appearance – and redefined—they just refuse to die!

Block-level vs. inline elements Block-level elements are surrounded by a box (usually invisible) and cannot sit side-by-side in the same sentence. –E.g. audio, blockquote, canvas, div, footer, form, h1, header, hr, ol, p, pre, table, ul, video Inline elements can sit side-by-side in a sentence. –E.g. a, b, br, button, code, em, i, input, q, script, select, span, sub, sup, strong, textarea

Web image formats Key concept: lossy vs. lossless compression –Lossless: reduces file size without any loss in image quality –Lossy: better reduction in file size, but some loss in image quality JPG –Lossy compression with customizable quality –Best for photos GIF –Small files with relatively few colours –Best for animated GIFs SVG –Vector graphics with programmability support –Good for complex illustrations (not photos) PNG –Very flexible; designed to be best of all worlds (e.g. supports transparency) –Best choice in almost all circumstances

Other tips HTML comments are often used by code interpreters to add special functionality Always use the alt tag for img: this greatly helps accessibility