1 Labels and Tags October 14, 2015. 2 Grammar A set of components and rules that define a method/means of communication among objects. Components are.

Slides:



Advertisements
Similar presentations
Math Introduction to HTML Gavin Shaddick
Advertisements

HTML popo.
Web Development & Design Foundations with XHTML
CREATED BY : VIRAL M.KORADIYA. Anchor elements are defined by the element. The element accepts several attributes, but either the Name or HREF attribute.
Internet Services and Web Authoring (CSET 226) Lecture # 5 HyperText Markup Language (HTML) 1.
Teppo Räisänen LIIKE/OAMK 2010
INTRODUCTION TO HYPERTEXT MARKUP LANGUAGE 1. Outline  Introduction  Markup Languages  Editing HTML  Common Tags  Headers  Text Styling  Linking.
LIST- HYPERLINK- IMAGES
Introduction to HTML CPS470 Software Engineering Fall 1998.
Computer Science 1611 Internet & Web Creating Webpages Hypertext and the HTML Markup Language.
 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.
Web Page Development Identify elements of a Web Page Start Notepad
CM143 - Web Week 2 Basic HTML. Links and Image Tags.
 2008 Pearson Education, Inc. All rights reserved. 1 Introduction to HTML.
 2004 Prentice Hall, Inc. All rights reserved. Introduction to XHTML: Part 1.
MA10126 Introduction to HTML Gavin Shaddick
Basic HTML Workshop LIS Web Team Fall What is HTML? Stands for Hyper Text Markup Language Computer language used to create web pages HTML file =
 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.
Basics of HTML Shashanka Rao. Learning Objectives 1. HTML Overview 2. Head, Body, Title and Meta Elements 3.Heading, Paragraph Elements and Special Characters.
Basics of HTML.
CS105 Introduction to Computer Concepts HTML
Chapter 2: The Client Side: HTML CIS 275—Web Application Development for Business I.
 2008 Pearson Education, Inc. All rights reserved Introduction to XHTML.
HTML HTML stands for "Hyper Text Mark-up Language“. Technically, HTML is not a programming language, but rather a markup language. Used to create web pages.
4 HTML Basics Section 4.1 Format HTML tags Identify HTML guidelines Section 4.2 Organize Web site files and folder Use a text editor Use HTML tags and.
 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.
CP2022 Multimedia Internet Communication1 HTML and Hypertext The workings of the web Lecture 7.
Chapter 2 HTML Basics Key Concepts Copyright © 2013 Terry Ann Morris, Ed.D 1.
All Web pages are written with some form of HTML (HyperText Markup Language). HTML documents are saved as Text Only files so virtually any computer can.
1 CSC 121 Computers and Scientific Thinking David Reed Creighton University HTML and Web Pages.
Section 4.1 Format HTML tags Identify HTML guidelines Section 4.2 Organize Web site files and folder Use a text editor Use HTML tags and attributes Create.
HTML 4 Foundation Level Course HyperText Markup Language Most common language used in creating Web documents. You can use HTML to create cross-platform.
Getting Started with HTML Please use speaker notes for additional information!
 2008 Pearson Education, Inc. All rights reserved Introduction to XHTML.
 2008 Pearson Education, Inc. All rights reserved Introduction to XHTML.
XP 1 HTML Committed to Shaping the Next Generation of IT Experts. 01: Introduction to HTML.
Just Enough HTML How to Create Basic HTML Documents.
HTML INTRODUCTION. What is HTML?  HTML stands for Hypertext Markup Language  Developed in 1990  Hidden code that helps us communicate with others on.
INTRODUCTION. What is HTML? HTML is a language for describing web pages. HTML stands for Hyper Text Markup Language HTML is not a programming language,
CS105 INTRODUCTION TO COMPUTER CONCEPTS HTML Instructor: Cuong (Charlie) Pham.
HTML: Hyptertext Markup Language Doman’s Sections.
4 Chapter Four Introduction to HTML. 4 Chapter Objectives Learn basic HTML commands Discover how to display graphic image objects in Web pages Create.
Introduction to HTML Xiangming Mu 9/23/ Learning Objectives Understand basic HTML tags and their attributes Learn to create a simple HTML page.
Web Development & Design Foundations with XHTML Chapter 2 HTML/XHTML Basics.
HTML Lesson 3 Hyper Text Markup Language. Assignment Part 2  Set the file name as “FirstName2.htm”  Set the title as “FirstName LastName First Web Site”
HTML BTEC National in Computing Section5. Create Information “HTML: defining HTML, discussing HTML uses and demonstrating HTML basics, HTML structure…..
Copyright © Terry Felke-Morris WEB DEVELOPMENT & DESIGN FOUNDATIONS WITH HTML5 Chapter 2 Key Concepts 1 Copyright © Terry Felke-Morris.
4 HTML Basics Section 4.1 Format HTML tags Identify HTML guidelines Section 4.2 Organize Web site files and folder Use a text editor Use HTML tags and.
HTML Basics. HTML Coding HTML Hypertext markup language The code used to create web pages.
1 Lecture 12 Lecture 12 Basic HTML ITEC 1000 “Introduction to Information Technology”
Writing Your Own Web Page: Using HTML and FrontPage Chapter 10.
REEM ALMOTIRI Information Technology Department Majmaah University.
CHAPTER TWO HTML TAGS. 1.Basic HTML Tags 1.1 HTML: Hypertext Markup Language  HTML stands for Hypertext Markup Language.  It is the markup language.
`. Lecture Overview HTML Body Elements Linking techniques HyperText references Linking images Linking to locations on a page Linking to a fragment on.
HTML. INDEX Introduction to HTML Creating Web Pages Commands And Tags Web Page.
HTML Tutorial. What is HTML HTML is a markup language for describing web documents (web pages) HTML documents are described by HTML tags Each HTML tag.
HTML And the Internet. HTML and the Internet ► HTML: HyperText Markup Language  Language in which all pages on the web are written  Not Really a Programming.
HTML AN INTRODUCTION TO WEB PAGE PROGRAMMING. INTRODUCTION TO HTML With HTML you can create your own Web site. HTML stands for Hyper Text Markup Language.
Glencoe Introduction to Web Design Chapter 4 XHTML Basics 1 Review Do you remember the vocabulary terms from this chapter? Use the following slides to.
HTML Basics.
Section 4.1 Section 4.2 Format HTML tags Identify HTML guidelines
Introduction to XHTML.
COMPUTING FUNDAMENTALS
Computers and Scientific Thinking David Reed, Creighton University
Basic HTML and Embed Codes
1 Introduction to XHTML.
Introduction to HTML- Basics
Introduction to HTML.
Understand basic HTML and CSS terminology, concepts, and basic operations. Objective 3.01.
MA10126 Introduction to HTML
Presentation transcript:

1 Labels and Tags October 14, 2015

2 Grammar A set of components and rules that define a method/means of communication among objects. Components are the lexical elements of the language Rules are expressed in the syntax of the language Every language has a grammar! Programming languages Spoken languages Written languages

3 Specification Methods Natural-language specifications Natural-language extensions Formal language  Specified grammar  Effective lexical processors/analyzers Semi-formal languages  Grammars  Conversation Diagrams  State Charts  User Action Notation Better for describing human computer communications

4 Grammars in a Software Context Standalone concept Grammar that defines/describes object Grammar that defines/describes and interchange Application of the concept SGML HTML XML

5 Grammars BNF (Backus-Naur form) helpful in describing programming languages Describes objects that occur in computer based interchanges Example: ::= ::= | ::= A|B|C|D|E|F|G|H|I|J|K|L|M|N|O|P|Q|R|S|T|U|V|W|X|Y|Z ::= - ::= ::= 0|1|2|3|4|5|6|7|8|9

6 Multiparty Grammars Language structure to accommodate more than one participant The person (“U”) The computer (“C”) Effective for text-oriented command sequences ::= ::= LOGIN ::= A|B|C|D|E|F|G|H|I|J|K|L|M|N|O|P|Q|R|S|T|U|V|W|X|Y|Z ::= HELLO [ ]

7

8 Grammar Analysis of a Conversation Diagram Data elements Catalog/SKU information Item description Quantity Unit price Discount terms Build a grammar that describes Line Item screen  Structure  Data elements  Messages Conversation LINE ITEM SCREEN Name Department Location Phone Fax PROGRAM ERROR MESSAGE W/PROMPTS

9 Grammar of the Data Elements ::= ::= - ::= | ::= A|B|C|... |X|Y|Z|0|1|2|... |8|9 ::= ::= | ::= A|B|C|... |X|Y|Z|0|1|2|... |8|9 ::= ::= 0|1|2|3|4|5|6|7|8|9 ::= $. ::= 0|1|2|3|4|5|6|7|8|9 ::=. % ::= 0|1|2|3|4|5|6|7|8|9 Described the data elements to be entered by the user (in this case, the purchasing agent.

10 Grammar of the Screen Session ::= ::= ENTER NEXT LINE ITEM CATALOG/SKU ITEM DESCRIPTION QUANTITY UNIT PRICE DISCOUNT TERMS ::= ::= - ::= | ::=A|B|C|... |X|Y|Z|0|1|2|... |8|9 ::= ::= | ::=A|B|C|... |X|Y|Z|0|1|2|... |8|9 ::= ::=. ::= 0|1|2|3|4|5|6|7|8|9 ::= >. ::= 0|1|2|3|4|5|6|7|8|9 ::= ERROR : | ACCEPTED ::= | ::= A|B|C|... |X|Y|Z|0|1|2|... |8|9

11

12 DOCUMENT TAGS Document tags divide up a Web page into its basic sections (e.g, header information, text, and graphics). HTML The first and last tags in a document should always be the HTML tag. These are the tags that tell a Web browser where the HTML in your document begins and ends. The above sequence of tags will give you a blank web screen. HEAD The HEAD tags contain all of the document's header information. TITLE This container is placed within the HEAD structure. Between the TITLE tags, you should have the title of your document. This will appear at the top of the browser's title bar, and also appears in the history list. Finally, the contents of the TITLE container go into your bookmark file, if you create a bookmark to a page.

13 DOCUMENT TAGS BODY BODY comes after the HEAD structure. Between the BODY tags, all of the text, the graphics, and links, are displayed. Document title   What would this HTML document look like COMMENT Precede comments with an exclamation point (!) inside the angle brackets   Appear only in the code – not on the screen  Why are Comment Tags important???

14 TEXT STRUCTURE HEADINGS The heading structures are most commonly used to set apart document or section titles. Heading structures go into the body of the document. Six levels of headings  Heading 1 (H1) is "most important" and Heading 6 (H6) is "least important."  By default, browsers will display the six heading levels in the same font, Point size decreasing as the importance of the heading decreases. Heading 1 Heading 2 Heading 3 Heading 4 Heading 5 Heading 6

15 TEXT STRUCTURE Paragraphs Common in Web pages. Most basic structures in HTML. Page is composed of a number of sections; each section composed of at least one paragraph. The beginning of a paragraph is marked by, and the end by. Line Break BEGINS AND ENDS WITH A tag.  Forces a line break  Whatever is after the tag will start from the left margin of the next line on the screen.)  THERE IS NO TAG. Blockquote Used to quote long pieces of material and set apart from the rest of the text. Blockquotes are set up as follows: ...text...

16 LISTS Unordered Lists Like a MS Word "bullet list." Each list item is preceded by a "bullet" or burgher dot Begins with the tag and and ends with the tag Each item in the list is marked using the and ends with a tag, Stands for "List Item." Example:  Monday Tuesday Wednesday Thursday Friday would be displayed as Monday Tuesday Wednesday Thursday Friday

17 LISTS Ordered Lists Lists can also be ordered. Use and, instead of and. Ordered lists display numerated sequential group of items.  Monday Tuesday Wednesday Thursday Friday The above markup, similar to the previous slide, would look like this: 1. Monday 2. Tuesday 3. Wednesday 4. Thursday 5. Friday

18 ANCHORS HREF Stands for "Hypertext REFerence," Refers to the location of the file you want to load. Anchors take the following form, where URL is the location of the resource you want to skip to. For example, a message to visit the PSU IST web site " that would be be displayed on a web page as: “Checkout to see the Penn State IST web site “ would be coded as “Check out to see the Penn State IST web site You can also reference a mail to address. For example “Send inquiries to: Professor Green

19 IMAGES IMG Use use an SRC attribute. The URL of the graphic you want to have displayed on your Web page. Thus, a typical image tag will take the form: ALIGN Screen space can be wasted when graphics are integrated into paragraphs. Text can be “ALIGNED” within the vertical space which is created by the graphic. Text lined up with the bottom of the graphic, or can align it to either the top or the middle of the graphic using the ALIGN attribute  Causes the top of any text on the same line as that graphic to be aligned with the top of the graphic. There is also an  ALIGN=middle option, Align the text's baseline with the middle of the graphic, and of course ALIGN=bottom, Default display strategy for most browsers