DAT602 Database Application Development Lecture 14 HTML.

Slides:



Advertisements
Similar presentations
Farhan Nisar University of Peshawar
Advertisements

Introduction to HTML & CSS
Internet Services and Web Authoring (CSET 226) Lecture # 5 HyperText Markup Language (HTML) 1.
HTML: HyperText Markup Language Hello World Welcome to the world!
Hyper Text Markup Language.  HTML is a language for describing web pages.  HTML stands for Hyper Text Markup Language  HTML is not a programming language,
WeB application development
Website Design.
ASHIMA KALRA.  WHAT IS HTML WHAT IS HTML  HTML TAGS HTML TAGS  FORMATTING TAGS FORMATTING TAGS.
HTML – A Brief introduction Title of page This is my first homepage. This text is bold  The first tag in your HTML document is. This tag tells your browser.
1 Introduction to HTML II อุทัย เซี่ยงเจ็น สำนักวิชาเทคโนโลยีสารสนเทศ และการสื่อสาร มหาวิทยาลัยนเรศวร พะเยา.
Images, Tables, lists, blocks, layout, forms, iframes
MR.Mohammed Sharaf al Shareef
Made by: Dan Ye. Introduction Basic Last Page ☆ HTML stands for Hyper Text Markup Language; ☆ HTML is not a programming language, it is a markup language;
Computing Concepts Advanced HTML: Tables and Forms.
HTML BASIC
HTML 2. What is an HTML File? HTML stands for Hyper Text Markup Language An HTML file must have an htm or html file extension  With newer software it.
WEB DESIGN 1 THEORY : 30 PRACTICE : 60 Lecturer : Phạm Sĩ Quan Phone : Blog:
Computer Sciences Department
Review HTML  What is HTML?  HTML is a language for describing web pages.  HTML stands for Hyper Text Markup Language  HTML is not a programming language,
CpSc 462/662: Database Management Systems (DBMS) (TEXNH Approach) HTML Basics James Wang.
Application Development Description and exemplification of server-side scripting language for server connection, database selection, execution of SQL queries.
HTML Forms What is a form.
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.
Ku-Yaw Chang Assistant Professor, Department of Computer Science and Information Engineering Da-Yeh University.
Headings, Paragraphs, Formatting, Links, Head, CSS, Images
ACM 511 HTML Week -1 ACM 511 Course Notes. Books ACM 511 Course Notes.
HTML Introduction to HTML Tags. HTML Document My first HTML document Hello world!
HTML Hyper Text Markup Language It is used for describing web documents or web pages. A markup language is set of markup tags. HTML documents are described.
HTML INTRODUCTION, EDITORS, BASIC, ELEMENTS, ATTRIBUTES.
HTML. WHAT IS HTML HTML stands for Hyper Text Markup Language HTML is not a programming language, it is a markup language A markup language is a set of.
1 HTML محمد احمدی نیا 2 Of 43 What is HTML?  HTML stands for Hyper Text Markup Language  HTML is not a programming language, it.
Programming in HTML.  Programming Language  Used to design/create web pages  Hyper Text Markup Language  Markup Language  Series of Markup tags 
Introduction to HTML. What is a HTML File?  HTML stands for Hyper Text Markup Language  An HTML file is a text file containing small markup tags  The.
 2008 Pearson Education, Inc. All rights reserved Introduction to XHTML.
Introduction to HTML. What is HTML? Hyper Text Markup Language (HTML) is a language for describing web pages. HTML is not a programming language, it is.
Hypertext Mark-Up Language Web Page Creation HTML.
 2008 Pearson Education, Inc. All rights reserved Introduction to XHTML.
CSC 330 E-Commerce Teacher Ahmed Mumtaz Mustehsan Ahmed Mumtaz Mustehsan GM-IT CIIT Islamabad GM-IT CIIT Islamabad CIIT Virtual Campus, CIIT COMSATS Institute.
Web Design and Development for Business Lecture 3 Hyper Text Markup Language (HTML)
LOGO FORMs in HTML CHAPTER 5 Eastern Mediterranean University School of Computing and Technology Department of Information Technology ITEC229 Client-Side.
HTML : Forms, Frames Instructor: Mr. Ahmed Al Astal ITGD4104 Department Requirement for senior student University of Palestine Faculty of IT.
Introduction To HTML.  HTML stands for Hyper Text Markup Language.  HTML was developed by Tim Berners-Lee.  HTML is maintained by World Wide Web Consortium(W3C).
HTML Basics Let’s Make a Web Page. What is HTML? HTML is a language for describing web pages. HTML stands for Hyper Text Markup Language HTML is not a.
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.
Graduate School of Library and Information Science LIS 753 Introduction to HTML 5 By: Yijun Gao Week Three.
1. Pengenalan HTML M. Udin Harun Al Rasyid, S.Kom, Ph.D Lab Jaringan Komputer (C-307)
Lecture: Web Design Assis. Prof. Freshta Hanif Ehsan Faculty of Computer Science Kabul Polytechnic University Spring Semester
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.
HTML Hyper Text Markup Language 1BFCET BATHINDA. Definitions Web server: a system on the internet containing one or more web site Web site: a collection.
CSE 409 – Advanced Internet Technology 1 DISCUSSION OF BASIC HTML TAGS.
Headings are defined with the to tags. defines the largest heading. defines the smallest heading. Note: Browsers automatically add an empty line before.
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.
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.
Department of Computer Science, Florida State University CGS 3066: Web Programming and Design Spring
HTML. INDEX Introduction to HTML Creating Web Pages Commands And Tags Web Page.
HTML cancho. HTML HyperText Markup Language A set of HTML tags.
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.
objectives Learning WEB TECHNOLOGIES. Understanding Salient features of WEB TECHNOLOGIES. Designing of WEB PAGES on your own. Development of WEB APPLICATIONS.
Hyper Text Markup Language.  My First Heading My first paragraph. Example Explained The DOCTYPE declaration defines the document type The text between.
HTML for web designing short course. What is an HTML File? HTML stands for Hyper Text Markup Language An HTML file must have an htm or html file extension.
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.
HTML Tables Tables are defined with the tag. A table is divided into rows (with the tag), and each row is divided into data cells (with the tag). td stands.
NOTEPAD++ Lab 1 1 Riham ALSmari. Why Notepad++ ?  Syntax highlighting  Tabbed document interface  Zooming  Indentation code  Find and replace over.
WEBSITE DESIGN Chp 1
HTML HTML is a language for describing web pages.
Internet Technologies I - Lect.01 - Waleed Ibrahim Osman
Html.
Pertemuan 1 Desain web Pertemuan 1
Presentation transcript:

DAT602 Database Application Development Lecture 14 HTML

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 language. -A markup language is a set of markup tags. -HTML uses markup tags to describe web pages Database Application Development - Lecture 14

HTML Tags HTML markup tags are usually called HTML tags HTML tags are keywords surrounded by angle brackets like HTML tags normally come in pairs like and The first tag in a pair is the start tag, the second tag is the end tag Start and end tags are also called opening tags and closing tags Database Application Development - Lecture 14

HTML Documents = Web Pages HTML documents describe web pages HTML documents contain HTML tags and plain text HTML documents are also called web pages The purpose of a web browser (like Internet Explorer or Firefox) is to read HTML documents and display them as web pages. The browser does not display the HTML tags, but uses the tags to interpret the content of the page. Database Application Development - Lecture 14

My First Heading My first paragraph Example Explained The text between and describes the web page The text between and is the visible page content The text between and is displayed as a heading The text between and is displayed as a paragraph Database Application Development - Lecture 14

Editing HTML You could use a plain text editor (like Notepad) to edit HTML. We believe this is the best way to learn HTML. However, professional web developers often prefer HTML editors like FrontPage or Dreamweaver, instead of writing plain text. Database Application Development - Lecture 14

HTML documents are defined by HTML elements. HTML Elements An HTML element is everything from the start tag to the end tag: * The start tag is often called the opening tag. The end tag is often called the closing tag. Database Application Development - Lecture 14 Start tag *Element contentEnd tag * This is a paragraph This is a link

HTML Element Syntax An HTML element starts with a start tag / opening tag An HTML element ends with an end tag / closing tag The element content is everything between the start and the end tag Some HTML elements have empty content Empty elements are closed in the start tag Most HTML elements can have attributes Database Application Development - Lecture 14

Nested HTML Elements Most HTML elements can be nested (can contain other HTML elements). HTML documents consist of nested HTML elements. The example above contains 3 HTML elements. Database Application Development - Lecture 14 This is my first paragraph

Don't Forget the End Tag Most browsers will display HTML correctly even if you forget the end tag: The example above will work in most browsers, but don't rely on it. Forgetting the end tag can produce unexpected results or errors. Note: Future version of HTML will not allow you to skip end tags. Database Application Development - Lecture 14<p>This is a paragraph

HTML Attributes HTML elements can have attributes Attributes provide additional information about the element Attributes are always specified in the start tag Attributes come in name/value pairs like: name="value" Database Application Development - Lecture 14

Attribute Example HTML links are defined with the tag. The link address is provided as an attribute: Always Quote Attribute Values Attribute values should always be enclosed in quotes. Double style quotes are the most common, but single style quotes are also allowed. Attribute names and attribute values are case-insensitive. Database Application Development - Lecture 14 This is a link

HTML Attributes Reference Below is a list of some attributes that are standard for most HTML elements: Database Application Development - Lecture 14 AttributeValueDescription classclass_rule or style_ruleThe class of the element idid_nameA unique id for the element stylestyle_definitionAn inline style definition titletooltip_text A text to display in a tool tip

HTML Headings Headings are defined with the to tags. defines the largest heading. defines the smallest heading. Use HTML headings for headings only. Don't use headings to make text BIG or bold. Database Application Development - Lecture 14 This is a heading This is a heading This is a heading

HTML Comments Comments can be inserted in the HTML code to make it more readable and understandable. Comments are ignored by the browser and are not displayed. Comments are written like this: Database Application Development - Lecture 14

HTML Formatting Tags HTML uses tags like and for formatting output, like bold or italic text. These HTML tags are called formatting tags. Database Application Development - Lecture 14

HTML Tables Tables are defined with the tag. A table is divided into rows (with the tag), and each row is divided into data cells (with the tag). The letters td stands for "table data," which is the content of a data cell. A data cell can contain text, images, lists, paragraphs, forms, horizontal rules, tables, etc. Database Application Development - Lecture 14

Example of Table If you do not specify a border attribute the table will be displayed without any borders. Sometimes this can be useful, but most of the time, you want the borders to show. Database Application Development - Lecture 14 row 1, cell 1 row 1, cell 2 row 2, cell 1 row 2, cell 2

Headings in a Table Headings in a table are defined with the tag. Database Application Development - Lecture 14 Heading Another Heading row 1, cell 1 row 1, cell 2 row 2, cell 1 row 2, cell 2

HTML Forms and Input A form is an area that can contain form elements. Form elements are elements that allow the user to enter information (like text fields, textarea fields, drop-down menus, radio buttons, checkboxes, etc.) in a form. A form is defined with the tag. Database Application Development - Lecture 14. input elements.

Input The most used form tag is the tag. The type of input is specified with the type attribute. The most commonly used input types are explained below. Database Application Development - Lecture 14

Text Fields Text fields are used when you want the user to type letters, numbers, etc. in a form. Note that the form itself is not visible. Also note that in most browsers, the width of the text field is 20 characters by default. Database Application Development - Lecture 14 First name: Last name:

Radio Buttons Radio Buttons are used when you want the user to select one of a limited number of choices. Database Application Development - Lecture 14 Male Female

Checkboxes Checkboxes are used when you want the user to select one or more options of a limited number of choices. Database Application Development - Lecture 14 I have a bike: I have a car: I have an airplane:

The Form's Action Attribute and the Submit Button When the user clicks on the "Submit" button, the content of the form is sent to the server. The form's action attribute defines the name of the file to send the content to. The file defined in the action attribute usually does something with the received input. Database Application Development - Lecture 14

If you type some characters in the text field above, and click the "Submit" button, the browser will send your input to a page called "html_form_submit.asp". The page will show you the received input. Database Application Development - Lecture 14 Username:

HTML Links The start tag contains attributes about the link. The element content (Link text) defines the part to be displayed. Note: The element content doesn't have to be text. You can link from an image or any other HTML element. Database Application Development - Lecture 14 Visit W3Schools!

Reference Database Application Development - Lecture 14