Elements of HTML Web Design – Sec 3-2

Slides:



Advertisements
Similar presentations
HTML popo.
Advertisements

WeB application development
ASHIMA KALRA.  WHAT IS HTML WHAT IS HTML  HTML TAGS HTML TAGS  FORMATTING TAGS FORMATTING TAGS.
INTRODUCTION TO HYPERTEXT MARKUP LANGUAGE 1. Outline  Introduction  Markup Languages  Editing HTML  Common Tags  Headers  Text Styling  Linking.
 2008 Pearson Education, Inc. All rights reserved. 1 Introduction to HTML.
Basics of HTML Shashanka Rao. Learning Objectives 1. HTML Overview 2. Head, Body, Title and Meta Elements 3.Heading, Paragraph Elements and Special Characters.
CS105 Introduction to Computer Concepts HTML
HTML. What is HTML? HTML is a language for describing web pages. HTML stands for Hyper Text Markup Language HTML is a markup language A markup language.
HTML (HyperText Markup Language)
Essential Tags Web Design – Sec 3-3 Part or all of this lesson was adapted from the University of Washington’s “Web Design & Development I” Course materials.
Essential Tags Web Design – Sec 3-3 Part or all of this lesson was adapted from the University of Washington’s “Web Design & Development I” Course materials.
 2008 Pearson Education, Inc. All rights reserved Introduction to XHTML Pt. 2.
Getting Started with HTML Please use speaker notes for additional information!
 2008 Pearson Education, Inc. All rights reserved Introduction to XHTML.
CS105 INTRODUCTION TO COMPUTER CONCEPTS HTML Instructor: Cuong (Charlie) Pham.
 2008 Pearson Education, Inc. All rights reserved Introduction to XHTML.
HTML: Hyptertext Markup Language Doman’s Sections.
Ali Alshowaish. What is HTML? HTML stands for Hyper Text Markup Language Specifically created to make World Wide Web pages Web authoring software language.
Introduction to HTML Xiangming Mu 9/23/ Learning Objectives Understand basic HTML tags and their attributes Learn to create a simple HTML page.
HTML Basics. HTML Introduction Stands for HyperText Markup Language. HTML files are plain text files with mark ups. Some characteristics of HTML: –No.
HTML Tags Lesson 2. What are HTML Tags?  Markup tags  Coded instructions that accompany the plain text of an HTML document  Syntax –Left wicket< –Tag.
HTML HyperText Markup Language ©Richard L. Goldman July 15, 2003.
HTML Basic. What is HTML HTML is a language for describing web pages. HTML stands for Hyper Text Markup Language HTML is not a programming language, it.
Week 2: Building a Simple Website IMC 320 Web Publishing Spring 2011.
Introduction to HTML UWWD. Agenda What do you need? What do you need? What are HTML, CSS, and tags? What are HTML, CSS, and tags? html, head, and body.
WEEK -1 ACM 262 ACM 262 Course Notes. HTML What is HTML? HTML is a language for describing web pages. HTML stands for Hyper Text Markup Language HTML.
Department of Computer Science, Florida State University CGS 3066: Web Programming and Design Spring
1999, COMPUTER SCIENCE, BUU Introduction to HTML Seree Chinodom
HTML. INDEX Introduction to HTML Creating Web Pages Commands And Tags Web Page.
Tutorial #1 Using HTML to Create Web Pages. HTML, XHTML, and CSS HTML – HyperText Markup Language The tags the browser uses to define the content of the.
Chapter 4 HTML Tags. HTML is written in something called tags. Tags come in pairs, an opening one and a closing one. The first pair of tags we'll write.
HTML Help book. HTML HTML is the programming language used to make web pages for the Internet. HTML stands for Hyper Text Markup Language. HTML is made.
HTML Extra Markup CS 1150 Spring 2017.
Introduction to basic HTML
HTML Basics.
Introduction to HTML:.
CGS 3066: Lecture 2 Web Development and HTML5
Web Development Part 1.
Marking Up with XHTML Tags describe how a web page should look
Organizing Content with Lists and Tables
Introduction to basic HTML
Essential Tags Web Design – Sec 3-3
Elements of HTML Web Design – Sec 3-2
HTML: HyperText Markup Language
Elements of HTML Web Design – Sec 3-2
Uppingham Community College
CGS 3066: Web Programming and Design Spring 2016
Essential Tags Web Design – Sec 3-3
AN INTRODUCTORY LESSON TO MAKING A SIMPLE WEB PAGE By: RC Emily Solis
Introduction to basic HTML
Chapter 4 - Introduction to XHTML: Part 1
Web Programming– UFCFB Lecture 5
COMPUTING FUNDAMENTALS
Computers and Scientific Thinking David Reed, Creighton University
Marking Up with XHTML Tags describe how a web page should look
Marking Up with XHTML Tags describe how a web page should look
CGS 3066: Lecture 2 Web Development and HTML5
1 Introduction to XHTML.
Introduction to HTML- Basics
Introduction to XHTML Cont:.
Html.
Introduction to HTML.
Document Structure & HTML
Marking Up with XHTML Tags describe how a web page should look
Pertemuan 1 Desain web Pertemuan 1
Marking Up with XHTML Tags describe how a web page should look
AN INTRODUCTION BY FAITH BRENNER
Lesson 2: HTML5 Coding.
Marking Up with XHTML Tags describe how a web page should look
CGS 3066: Web Programming and Design Fall 2019
Presentation transcript:

Elements of HTML Web Design – Sec 3-2 Part or all of this lesson was adapted from the University of Washington’s “Web Design & Development I” Course materials

Objectives The Student will: have a basic understanding of HTML syntax, including the difference between elements and attributes.

HTML Code HTML (hypertext markup language) is the language that is used to create pages for the web. You can view the source for a web page by clicking View -> Source

HMTL Web pages are just plain text. You can view or edit the source code using any text editor. "Tags" provide web browsers with instructions about the web page, such as where to display images, and how the document is structured. Tags are always enclosed in angle brackets: < >.

HMTL Tags are comprised of elements and attributes. An element is an object on a page (such as a heading, paragraph, or image), and attributes are qualities that describe that element (such as width and height). Tags usually travel in pairs. An opening tag begins a section of page content, and a closing tag ends it. For example, to markup a section of text as a paragraph, you would open the paragraph with an opening paragraph tag <p> and close it with a closing paragraph tag </p> (closing tags always proceed the element with a /).

HMTL A few tags are called non-container tags, because they don't contain any content - they stand alone. Examples are images and line breaks. XHTML is more strict than HTML, and requires that all open tags must be closed, even if they're not container tags. Therefore, non-container tags end in />. For example, the tag for a line break is <br />. HTML does not have this same requirement, but it's a good habit to get into in case you ever need to code in XHTML. Tags in HTML are not case sensitive, but in XHTML all tags must be in lower case. Even when coding in HTML, you should get in the habit of writing tags in lower case.

HMTL White space is ignored by web browsers. So, if you hit the space bar multiple times within a document, only one of those spaces will actually be displayed by the browser. Tags can be nested. For example, <div><p>This paragraph is nested inside a division</p></div>. Note that the order of nested tags is important: The container tags surrounding any content should be symmetrical.

HTML Tags - Document Structure Opening Tag Closing Tag Description <html> </html> Identifies the document as HTML. <head> </head> Identifies the header section of your document, which is used to provide information about the document for use primarily by search engines and browsers. <title> </title> The title of document. This element must be nested within the head elements. <body> </body> Contains all the visible content of a web page.

HTML Tags - Content (Container) Tags Opening Tag Closing Tag Description <h1> to <h6> </h1>to</h6> Headings. H1 is the main heading, H2 is secondary, etc. <p> </p> New paragraph. <div> </div> A container for a block of content <span> </span> A container for in-line content, such as content inside a paragraph. <em> </em> Gives the contained text emphasis (usually as italics). <strong> </strong> Makes the contained text bold.

HTML Tags - Content (Container) Tags Opening Tag Closing Tag Description <a href = "document location"> </a> Link to another document. <a name = "label"> Link to another section of the same page. <ol> </ol> Makes ordered lists. <ul> </ul> Makes unordered (or bulleted) lists. <li> </li> Marks items in either the ordered or unordered list.

HTML Tags - Content (Container) Tags Opening Tag Closing Tag Description <!-- --> Comment. Anything between these tags is not displayed on the screen. This is useful for making notes to yourself or to others who may view the source code of the web page.

HTML Tags - Empty (Non-Container) Tags Description <br /> Causes a line break. It may be repeated for multiple line breaks. <img src ="image location" /> Inserts an image into a web page.

HTML Tags - Table Tags Opening Tag Closing Tag Sample Attributes Description <table> </table>   Adds a table. <tr> </tr> Table row (start & end). <th> </th> scope="row“ scope="col" When creating a table to display data, use this tag to differentiate the first row or column of cells as heading cells for all the other cells in the same column or row. Browsers typically display this element bold and centered within the table cell. The scope attribute defines whether this is a row header or column header.

HTML Tags - Table Tags Opening Tag Closing Tag Sample Attributes Description <td> </td>   Table data cell. colspan="number" Use with <th> or <td> elements. Spans cells across multiple columns. rowspan="number" Use with <th> or <td> elements. Spans cells across multiple rows.

Summary HTML is the language of the web HTML tags control how pages are displayed. Most HTML tags have a beginning and an ending tag

Rest of Today Using the Common HTML tags I presented, complete Homework 3-2