01 – HTML (1) Informatics Department Parahyangan Catholic University.

Slides:



Advertisements
Similar presentations
Introduction to Web Design Lecture number:. Todays Aim: Introduction to Web-designing and how its done. Modelling websites in HTML.
Advertisements

Intro to HTML Basics HTML = Hypertext Mark-up Language HTML = Hypertext Mark-up Language HTML is a plain-text file that can be created using a text editor.
HTML popo.
HyperText Markup Language (HTML). Introduction to HTML Hyper Text Markup Language HTML Example The structure of an HTML document Agenda.
CREATED BY : VIRAL M.KORADIYA. Anchor elements are defined by the element. The element accepts several attributes, but either the Name or HREF attribute.
HTML: HyperText Markup Language Hello World Welcome to the world!
INTRODUCTION TO HYPERTEXT MARKUP LANGUAGE 1. Outline  Introduction  Markup Languages  Editing HTML  Common Tags  Headers  Text Styling  Linking.
Images, Tables, lists, blocks, layout, forms, iframes
Chapter 4 Marking Up With Html: A Hypertext Markup Language Primer.
1 HTML Markup language – coded text is converted into formatted text by a web browser. Big chart on pg. 16—39. Tags usually come in pairs like – data Some.
 2008 Pearson Education, Inc. All rights reserved. 1 Introduction to HTML.
Introduction to HTML II Shih-Heng Chin. Preface Structure of a HTML File Elements used frequently Tables.
Tags through Forms. This element is required for all HTML pages It must be at the top of every page of every website We’ll see later on why it is important.
HTML Tags. Objectives Know the commonly used HTML tags Create a simple webpage using the HTML tags that will be discussed.
CS105 Introduction to Computer Concepts HTML
Chapter 4 Fluency with Information Technology L. Snyder Marking Up With HTML: A Hypertext Markup Language Primer.
Copyright © 2008 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Fluency with Information Technology Third Edition by Lawrence Snyder Chapter.
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. 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 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.
HTML HyperText Markup Language Constantly evolving - extra facilities being added regularly Java applets and JavaScript used to increase functionality.
Chapter 4: Hypertext Markup Language Primer TECH Prof. Jeff Cheng.
 2008 Pearson Education, Inc. All rights reserved Introduction to XHTML Pt. 2.
HTML history, Tags, Element. HTML: HyperText Markup Language Hello World Welcome to the world!
HTML. Basic HTML HTML document – HTML headings – to HTML paragraphs – HTML links – HTML images –
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.
CHAPTER 1 HTML & HTML5 I อ. ยืนยง กันทะเนตร คณะเทคโนโลยีสารสนเทศและการสื่อสาร มหาวิทยาลัยพะเยา 1.
 2008 Pearson Education, Inc. All rights reserved Introduction to XHTML.
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.
Chapter 2 XHTML: Part II The Web Warrior Guide to Web Design Technologies.
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.
LEARNING HTML PowerPoint #1 Cyrus Saadat, Webmaster.
1 Review of HTML Elements. 2 The tag These tags are marked as comments in HTML. Any text between these two comment tags will.
HTML.
CSE 409 – Advanced Internet Technology 1 DISCUSSION OF BASIC HTML TAGS.
HTML Basics. HTML Coding HTML Hypertext markup language The code used to create web pages.
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 is a markup.
Assistant Professor,UCER Naini,Allahabad
REEM ALMOTIRI Information Technology Department Majmaah University.
Department of Computer Science, Florida State University CGS 3066: Web Programming and Design Spring
`. Lecture Overview HTML Body Elements Linking techniques HyperText references Linking images Linking to locations on a page Linking to a fragment on.
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.
INT222 – Internet Fundamentals
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.
NOTEPAD++ Lab 1 1 Riham ALSmari. Why Notepad++ ?  Syntax highlighting  Tabbed document interface  Zooming  Indentation code  Find and replace over.
HTML Introduction. Lecture 7 What we will cover…  Understanding the first html code…  Tags o two-sided tags o one-sided tags  Block level elements.
HTML Extra Markup CS 1150 Spring 2017.
HTML Basics.
Section 4.1 Section 4.2 Format HTML tags Identify HTML guidelines
CGS 3066: Lecture 2 Web Development and HTML5
Marking Up with XHTML Tags describe how a web page should look
HTML: HyperText Markup Language
Elements of HTML Web Design – Sec 3-2
Elements of HTML Web Design – Sec 3-2
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 XHTML Cont:.
Introduction to HTML.
Marking Up with XHTML Tags describe how a web page should look
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: Web Programming and Design Fall 2019
Presentation transcript:

01 – HTML (1) Informatics Department Parahyangan Catholic University

 Identified by tags  A tag consist of the element name within angle brackets ( )  Browser knows any text within brackets is hidden and not displayed in the browser window

 Block level element  appears on a new line  Ex:,,, and  Inline element  continue on the same line as its neighboring elements  Ex:,,, and

 Used to describe the content’s meaning  Ensures the content is available and accessible in the widest range of browsing environtment  Allows non-human readers (such as search engine) to correctly parse the web content and make decision about the relative importance of elements on the page

Serif typefaces have small slabs at the ends of letter strokes. In general, serif fonts can make large amounts of text easier to read. Example:

Serif typefaces have small slabs at the ends of letter strokes. In general, serif fonts can make large amounts of text easier to read. Example:

 In some types of information (code examples or poetry) the whitespace is important for conveying meaning.  The preformatted text (pre) element is a unique element in that it is displayed exactly as it is typed, including all the carriage returns and multiple character spaces.

Text in a pre element is displayed in a fixed-width font, and it preserves both spaces & line breaks Example: Text in a pre element is displayed in a fixed-width font, and it preserves both spaces & line breaks

This is Heading 1 This is Heading 2 This is Heading 3 This is Heading 4 This is Heading 5 This is Heading 6 Example:

WWF's goal is to: Build a future where people live in harmony with nature. Here is a quote from WWF's website: For 50 years, WWF has been protecting the future of nature. The world's leading conservation organization, WWF works in 100 countries and is supported by 1.2 million members in the United States and close to 5 million globally. Example: can be used to make a quotation, a testimonial, or a section of copy from another source.

bold text bold text, with added semantic importance italic text italic text, with added semantic importance underlined text strikethrough text smaller text highlighted text deleted text (displayed with a strikethrough) inserted text (displayed with an underline) subscript text superscript text

 HTML provides element for marking up three types of lists:  Unordered lists: collections of items that appear in no particular order.  Ordered lists: lists in which the sequence of the items is important.  Description lists: lists that consist of name and value pairs, including but not limited to terms of definitions.

Serif Sans-serif Script Display Dingbats Example:

Serif Sans-serif Script Display Dingbats Example:

Coffee Black hot drink Milk White cold drink Example:

 Types of links: Links from one website to another Links from one page to another on the same website Links from one part of a web page to another part of the same page Links that start up your program and address a new to someone

 Links are created using the element.  Users can click on anything between the opening tag and the closing tag.  You specify which page you want to link to using the href attribute. IMDB opening tagclosing tag target locationclickable text

 to link to other pages within the same site, we don’t need to specify full URL, instead we can use a relative URL

Example :

 same folder: type only the file name Ex: Reviews  child folder: type the folder name, slash, file name Ex: Reviews  parent folder: type../ to move up one level Ex: Reviews

 Starts the value of the href attribute with mailto: and follows by the address the to be sent to  Example: Jon

 Need to identify the points in the page that the link will go to using the id attribute (can be used in any HTML element)  The value of the id attribute should start with a letter or an underscore  id attributes on a single page must be unique  To link to an element that uses an id attribute, starts the href value with the # symbol, followed by id name Film-Making Terms … Top Full URL

 To open link in a new window: add attribute target="_blank"  Other options:  _self opens in the same frame as it was clicked  _parent opens in the parent frame  _top opens in the full body of the window  framenameopens in the named frame

 element is used to add an image into the  This is an empty element (no closing tag).  It must carry the src attributes This tells the browser where it can find the image file. This will usually be a relative URL pointing to an image on your own site.  Recommended attributes:  alt This provides a text description of the image which describes the image if you cannot see it.  title This provides additional information about the image. Most browsers will display the content of this attribute in a tooltip when the user hovers over the image.

Other attributes:  height This specifies the height of the image in pixels  width This specifies the width of the image in pixels Note: Some attributes are now replaced by using CSS. We will learn it later

Example:

 The element is used to create a table. The contents of the table are written out row by row. The end of the table is closed by tag.  The start of each row is indicate by the opening tag, and is closed by a tag.  Inside each row, there is one or more cell(s) indicated by and tags.

Jill Smith 50 Eve Jackson 94 John Doe 80 Example:

 Use the border attribute to indicate the table border  The element is used just like the element but its purpose is to represent the heading for either a column or a row  The colspan attribute can be used on a or element and indicates how many columns that cell should run across  The rowspan attribute can be used on a or element to indicate how many rows a cell should span down the table

9am 10am 11am 12am Monday Geography Math Art Tuesday Gym Home Ec Example:

ABC BB CNN 6pm - 7pm Movie Comedy News