Chapter 2 Markup Language By : Madam Hazwani binti Rahmat

Slides:



Advertisements
Similar presentations
HyperText Markup Language (HTML). Introduction to HTML Hyper Text Markup Language HTML Example The structure of an HTML document Agenda.
Advertisements

WeB application development
 2008 Pearson Education, Inc. All rights reserved. 1 Introduction to HTML.
Chapter 14 Introduction to HTML
CS105 Introduction to Computer Concepts HTML
HTML5. What is HTML5? HTML5 will be the new standard for HTML. HTML5 is the next generation of HTML. HTML5 is still a work in progress. However, the major.
Multimedia and Web Technology Prepared by: Asst. Prof. Maryam Eskandari.
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)
WEB DESIGN USING DREAMWEAVER. The World Wide Web –A Web site is a group of related files organized around a common topic –A Web page is a single file.
 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.
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.
Programming in HTML.  Programming Language  Used to design/create web pages  Hyper Text Markup Language  Markup Language  Series of Markup tags 
What is Markup and Markup Languages? What is HTML? A Basic HTML Document Basic HTML Tags Tag Attributes and Text Formatting Tags Insert Hyperlinks Add.
CS105 INTRODUCTION TO COMPUTER CONCEPTS HTML Instructor: Cuong (Charlie) Pham.
 2008 Pearson Education, Inc. All rights reserved Introduction to XHTML.
HTML Structure & syntax. Introduction This presentation introduces the following: Doctype declaration HTML Tags, Elements and Attributes Sections of a.
HTML: Hyptertext Markup Language Doman’s Sections.
Introduction HTML (Hypertext Markup Language) is used to create document on the World Wide Web. HTML is not a programming language, it is a markup language.
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).
COP 3813 Intro to Internet Computing Prof. Roy Levow Lecture 2.
Ali Alshowaish. What is HTML? HTML stands for Hyper Text Markup Language Specifically created to make World Wide Web pages Web authoring software language.
HTML HyperText Markup Language ©Richard L. Goldman July 15, 2003.
CSE 409 – Advanced Internet Technology 1 DISCUSSION OF BASIC HTML TAGS.
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.
HTML CS 105. Page Structure HTML elements control the details of how a page gets displayed. Every HTML document has the following basic structure: … …
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.
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 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 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 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.
Blended HTML and CSS Fundamentals 3 rd EDITION Tutorial 1 Using HTML to Create Web Pages.
Week 1: Introduction to HTML and Web Design
HTML Structure & syntax
Basic concepts of web design
Web Development Part 2.
HTML Basics (Part-3).
CHAPTER 2 MARKUP LANGUAGE
Introduction to HTML:.
CGS 3066: Lecture 2 Web Development and HTML5
Web Development Part 1.
HTML: HyperText Markup Language
Elements of HTML Web Design – Sec 3-2
Introduction to HTML.
Introduction to Web programming
HTML HTML – Hyper Text Markup Language
Elements of HTML Web Design – Sec 3-2
Web Programming– UFCFB Lecture 5
COMPUTING FUNDAMENTALS
HTML: Basic Tags & Form Tags
Introduction to Web programming
Basic HTML and Embed Codes
CGS 3066: Lecture 2 Web Development and HTML5
HTML HTML is a language for describing web pages.
1 Introduction to XHTML.
Introduction to HTML- Basics
HTML Forms Internet Technology.
HTML Forms Internet Technology.
HTML HyperText Markup Language
Chapter 16 The World Wide Web.
Html.
Introduction to HTML.
Understand basic HTML and CSS terminology, concepts, and basic operations. Objective 3.01.
Computer communications
Pertemuan 1 Desain web Pertemuan 1
An Introduction to HTML Pages
Web Programming and Design
HTML: Basic Tags & Form Tags
Presentation transcript:

Chapter 2 Markup Language By : Madam Hazwani binti Rahmat http://fsktm2.uthm.edu.my/hazwani/v2

Introduction and Updates to Markup Language Markup languages (ML) is the language that annotates text so that the computer can manipulate (format and align) the text.. Most ML are human readable because they are written in a way to distinguish them from the text (tag based). Example: XML, HTML, XHTML ML such as HTML (HyperText Markup Language) are used to build web pages and dictates how a browser will load, format and align text and graphics on a web page.

Introduction and Updates to Markup Language Various versions of HTML has been published. YEAR PUBLISHED VERSIONS 1990 HTML 1995 HTML 2.0 1997 HTML 3.0 1999 HTML 4.0.1 2008 HTML 5 Table 1: Versions of HTML

Introduction and Updates to Markup Language HTML 5 introduces more features and changes into HTML. Some of established features of HTML 5 are: Reduce the need for external plugins (Ex: <video>) New markup to replace scripting / extra coding (Ex: <video>) New form control features (Ex: required, placeholder) Supported element and scripting for 3D uses (Ex: <canvas>) More control over media playback (Ex: <audio>)

Web Programming using Markup Language In HTML, the markup tags are < and >. The HTML markup tags comes in pairs (opening tags and closing tags). For example: <p>this is a paragraph of text written in HTML</p> Closing tag Opening tag text

Web Programming using Markup Language - Basic HTML Page Structure Placed at top of every HTML 5 page (indicates HTML version) <!DOCTYPE html> <html> <head> </head> <body> </body> </html> indicates that everything between <html> and</html> is code that conforms to the standards of the type of HTML dictated by the doctype declaration Tags for content display. Ex: formatting tags, hyperlink and images special instruction for Search Engine Optimization (SEO).

Web Programming using Markup Language - Heading Tags Titles of web content were placed in <h1> tags which define most important heading on the page. Subtitles (least important) went in <h2> through <h6> tags. INCREASE DECREASE Font size and relative importance

Web Programming using Markup Language - Paragraph Tags Defined by <p> tag to hold sentence / paragraph. √ x √ x

Web Programming using Markup Language - List Tags The most common list are: (1) Ordered List and (2) Unordered List Printer Mouse Keyboard Ordered List Printer Mouse Keyboard Unordered List

Web Programming using Markup Language - List Tags Ordered List : Starts with the <ol> tag. Each list item starts with the <li> tag. The list items are marked with numbers. For example: <ol>   <li>List item 1</li>   <li>List item 2</li> </ol> Printer Mouse Keyboard Ordered List

Web Programming using Markup Language - List Tags Unordered List : Starts with the <ul> tag. Each list item starts with the <li> tag. The list items are marked with bullets (typically small black circles). For example: <ul>   <li>List item 1</li>   <li>List item 2</li> </ul> Printer Mouse Keyboard Unordered List

Web Programming using Markup Language - Anchor Tags Hyperlink defines by <a> tag. The href attribute specifies the destination of a link (url). Links text / image to another document. For example: <a href="http://www.mySite.com/nextpage.html”>Next page</a>

Web Programming using Markup Language - Img Tags Images defines by <img> tag. The src attribute specifies the source of image for display(url). Links text / image to another document. For example: <img src=“http://www.mySite.com/images/pic.gif”>

Web Programming using Markup Language - Table Tags Defined by <table> tag. Divided into rows (with the <tr> tag) Each row is divided into column (with the <td> tag).  td stands for "table data," and holds the content of a cell. A <td> tag can contain text, links, images, lists, forms, other tables, etc.

Web Programming using Markup Language - Table Tags TD TR <table>   <tr>    <td>Row 1 - Col 1</td>    <td>Row 1 - Col 2</td>   </tr>  <tr>    <td>Row 2 - Col 1</td>    <td>Row 2 - Col 2</td>   </tr> </table> Row 1 - Col 1 Row 1 - Col 2 Row 2 - Col 1 Row 2 - Col 2

Web Programming using Markup Language - Form Tags Submit button Checkbox Text field List / Menu Radio button

Web Programming using Markup Language - Form Tags Defines a HTML form by <form> tag. HTML form can contain input elements like text fields, checkboxes, radio-buttons, submit buttons and more. For example: <form name="input" action=“action.asp" method="get"> Username: <input type="text" name="user"> <input type="submit" value="Submit"> </form>

Web Programming using Markup Language - Form Tags (Text Field) 1 2 <form> First name: <input type="text" name="firstname"><br> Last name: <input type="text" name="lastname"> </form>

Web Programming using Markup Language - Form Tags (Radio Button) 1 2 3 <form> <input type="radio" name="sex" value="male">Male<br> <input type="radio" name="sex" value="female">Female </form>

Web Programming using Markup Language - Form Tags (Checkbox) 1 2 3 <form> <input type="checkbox" name="vehicle" value="Bike">I have a bike<br> <input type="checkbox" name="vehicle" value="Car">I have a car  </form>

Web Programming using Markup Language - Form Tags (Menu / List) 2 <form> <select name="cars"> <option value="volvo">Volvo</option> <option value="saab">Saab</option> </select> </form> 1 3

Web Programming using Markup Language - Form Tags (Submit Button) <form> Username: <input type="text" name="user"> <input type="submit" value="Submit"> </form> 1 2

Tags for Interactive Web Pages – Video One of the most beneficial and popular HTML5 feature is <video> element (tag). The <video> tag is supported in Internet Explorer 9+, Firefox, Opera, Chrome, and Safari. Currently, there are 3 supported video formats for the <video> element: MP4, WebM, and Ogg.

Tags for Interactive Web Pages - Video For example: <video width="500" height="375" controls="controls"> <source src=http://www.mySite.org/trailer.mp4 type="video/mp4"/> Your browser does not support the video tag. </video>

Tags for Interactive Web Pages - Audio Defines sound, such as music or other audio streams by <audio> tag. Currently, there are 3 supported file formats for the <audio> element: MP3, Wav, and Ogg. For example: <audio controls="controls"> <source src=http://www.mySite.org/trailer.mp3 type="audio/mpeg"/> Your browser does not support the video tag. </audio>

Web Authoring Tools Web authoring tools are used to create web content, and cover a wide range of software programs. The programs include word processors, desktop publishing programs, webpage builders, website management systems and HTML editors. Any software program that can be used to create content that can be uploaded and viewed on the Internet or intranet network systems is considered a web authoring tool. Example: Microsoft Word, Macromedia Dreamweaver, Microsoft Publisher, Joomla and Notepad

Web Authoring Tools – Ms Word

Web Authoring Tools – Macromedia Dreamweaver

Web Authoring Tools – Ms Publisher

Web Authoring Tools – Joomla

Web Authoring Tools – Notepad

Recap CHAPTER 2 INTRO UPDATES VERSION FEATURES TAGS BASIC INTERACTIVE TOOLS