Multimedia and Web Technology Prepared by: Asst. Prof. Maryam Eskandari.

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

HTML I. HTML Hypertext mark-up language. Uses tags to identify elements of a page so that a browser such as Internet explorer can render the page on a.
HTML popo.
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.
INTRODUCTION TO HYPERTEXT MARKUP LANGUAGE 1. Outline  Introduction  Markup Languages  Editing HTML  Common Tags  Headers  Text Styling  Linking.
XHTML Basics.
1 eVenzia Technologies Learning HTML, XHTML & CSS Chapter 1.
Hypertext Markup Language. Platform: - Independent  This means it can be interpreted on any computer regardless of the hardware or operating system.
HTML Hypertext Markup Language –First proposed by CERN in 1989 –It is non-linear so it allows you to jump from place to place –Markup refers to the structure.
Introduction to HTML 2006 CIS101. What is the Internet? Global network of computers that are connected and communicate via a series of Protocols Protocols.
Introduction to HTML 2004 CIS101. What is the Internet? Global network of computers that are connected and communicate via a series of Protocols Protocols.
HTML Introduction HTML
Developing a Basic Web Page with HTML
Chapter 2 Introduction to HTML5 Internet & World Wide Web How to Program, 5/e Copyright © Pearson, Inc All Rights Reserved.
HTML BASIC
Chapter 14 Introduction to HTML
Chapter 2: The Client Side: HTML CIS 275—Web Application Development for Business I.
Headings, Paragraphs, Formatting, Links, Head, CSS, Images
Creating a Basic Web Page
HTML HyperText Markup Language Constantly evolving - extra facilities being added regularly Java applets and JavaScript used to increase functionality.
HTML (HyperText Markup Language)
Programming in HTML.  Programming Language  Used to design/create web pages  Hyper Text Markup Language  Markup Language  Series of Markup tags 
HTML Structure & syntax
HTML history, Tags, Element. HTML: HyperText Markup Language Hello World Welcome to the world!
Learning Web Design: Chapter 4. HTML  Hypertext Markup Language (HTML)  Uses tags to tell the browser the start and end of a certain kind of formatting.
CP2022 Multimedia Internet Communication1 HTML and Hypertext The workings of the web Lecture 7.
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.
SEG3210 DHTML Tutorial. DHTML DHTML is a combination of technologies used to create dynamic and interactive Web sites. –HTML - For creating text and image.
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.
Programming in HTML.  Programming Language  Used to design/create web pages  Hyper Text Markup Language  Markup Language  Series of Markup tags 
 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.
XP New Perspectives on The Internet, Sixth Edition— Comprehensive Tutorial 8 1 Creating Effective Web Pages Creating HTML Documents Tutorial 8.
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.
Web Programming Basics of HTML. HTML stands for Hyper Text Mark-up Language A mark-up language is different than those that you have learned before in.
HTML Hyper Text Markup Language. What is an HTML File?  HTML stands for Hyper Text Markup Language  An HTML file is a text file containing small markup.
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.
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.
Project 2 Web Page Design Creating and Editing a Web Page Pages
CPSC 203 Introduction to Computers Lab 33 By Jie Gao.
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.
HTML Basics Computers. What is an HTML file? *HTML is a format that tells a computer how to display a web page. The documents themselves are plain text.
2.1 XHTML. Motto High thoughts must have high language. –Aristophanes.
HTML Basics. HTML Coding HTML Hypertext markup language The code used to create web pages.
4.01B Authoring Languages and Web Authoring Software 4.01 Examine webpage development and design.
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 Assoc. Prof. Rozinah Jamaludin 28 January 2010.
Objective: To describe the evolution of the Internet and the Web. Explain the need for web standards. Describe universal design. Identify benefits of accessible.
HTML HYPER TEXT MARKUP LANGUAGE. INTRODUCTION Normal text” surrounded by bracketed tags that tell browsers how to display web pages Pages end with “.htm”
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.
XP 2 HTML Tutorial 1: Developing a Basic Web Page.
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.
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.
Hyper Text Markup Language.  My First Heading My first paragraph. Example Explained The DOCTYPE declaration defines the document type The text between.
HTML Structure & syntax
Introduction to XHTML.
Essentials of Web Pages
Client-Side Internet and Web Programming
Internet Technologies I - Lect.01 - Waleed Ibrahim Osman
Pertemuan 1 Desain web Pertemuan 1
Presentation transcript:

Multimedia and Web Technology Prepared by: Asst. Prof. Maryam Eskandari

Multimedia What is Multimedia on the web? – Multimedia on the web, is sound, music, videos, movies, records, animations and more. – Web pages often contains multimedia elements of different types and formats.

Browser Support The first web browsers had support for text only, limited to a single font in a single color. Later came browsers with support for colors and fonts, and even support for pictures, sounds, animations, and videos ! HTML5 multimedia provides an easier way for multimedia.

Multimedia Formats Multimedia elements (like sounds or videos) are stored in media files. When a browser sees the file extension.htm or.html, it will treat the file as an HTML file. The.xml extension indicates an XML file, and the.css extension indicates a style sheet file. Pictures are recognized by extensions like.gif,.png and.jpg. Multimedia files have their own formats like:.swf,.wav,.mp3,.mp4,.mpg,.wmv, and.avi.

Common Video Formats

Sound Formats

Supported Video and Sound formats by HTML5 Video: Only MP4, WebM, and Ogg video is supported by the newest HTML5 standard. Sound: Only MP3, WAV, and Ogg audio is supported by the newest HTML5 standard.

The web elements HTML: Hyper-Text Markup Language. Provides formatting of text and graphics, as well as links between documents. CSS: Cascading Style Sheets. Provide more powerful and detailed control of style and formatting. JavaScript: a programming language for client-side scripting, to provide dynamically changing content. Java: a more powerful programming language for web applications on the client that can also run independently of the browser. Server-side scripting and programming (SHTML, ASP, PHP, CGI): These permit access to databases and other information located on the server.

The internet Internet is a network of computer networks. HTML is a markup language for describing web pages. HTML stands for Hyper Text Markup Language A markup language is a set of markup tags HTML documents are described by HTML tags Each HTML tag describes different document content

HTML HTML tags normally come in pairs like content The first tag in a pair is the start tag, the second tag is the end tag. The end tag is written like the start tag, but with a slash before the tag name. The start tag is often called the opening tag. The end tag is often called the closing tag.

Web Development Tools Many tools exist for creating Web pages e.g., Microsoft FrontPage, Netscape Composer, Adobe PageMill, Macromedia DreamWeaver, HotDog, … we learn HTML using a basic text editor? YOU NEED A FOLDER (also called a DIRECTORY) YOU DO NOT NEED TO BE CONNECTED TO THE INTERNET YOU NEED A WORD PROCESSOR (such as NotePad or WordPad)

HTML In summary, you basically: – create your web page in a text editor such as NotePad (typing in all the text and tags) – save your web page as an HTML file using any appropriate name – load the HTML file into the browser to see how your web page looks and works – switch back to NotePad to make any corrections, changes, etc.

WEB BROWSWES The purpose of a web browser (Chrome, IE,…) is to read HTML documents and display them. The browser does not display the HTML tags, but uses them to determine how to display the document. To tell the browser that something is a tag, place "less than" " " around them.

HTML PAGE STRUCTURE Below is a visualization of an HTML page structure: This is a heading. This is a paragraph. This is another paragraph.

HTML VERSIONS HTML 1 (Berners-Lee, 1989): very basic, limited integration of multimedia HTML 2.0 (IETF, 1994): tried to standardize these & other features HTML 3.2 (W3C, 1996): attempted to unify into a single standard HTML 4.0 (W3C, 1997): current standard (but moving towards XHTML) XHTML 1.0 (Extensible HTML)(W3C, 2000): HTML 4.01 modified to conform to XML standards XHTML 1.1 (W3C, 2001): “Modularization” of XHTML 1.0 HTML 5 (Web Hypertext Application Technology Working Group, W3C, 2006): New version of HTML4, XHTML 1.0, and DOM 2 (still a work in progress)

Html- CORRECT USE OF TAGS is the beginning tag and is the ending tag. Use the "Last In = First Out" principle or "LIFO". – statements

Html-Structural Elements An HTML document has two main structural elements: – HEAD contains setup information for the browser & the Web page e.g., the title for the browser window, style definitions, JavaScript code, … – BODY contains the actual content to be displayed in the Web page

HTML EDITORS Step 1: Open Notepad To open Notepad in Windows 7 or earlier: Click Start. Click All Programs. Click Accessories. Click Notepad.

HTML EDITORS Step 2: Write Some HTML Write or copy some HTML into Notepad. Step 3: Save the HTML Page Select File -> Save as in the Notepad menu. When saving an HTML file, use either the.htm or the.html file extension. There is no difference, it is entirely up to you.

HTML EDITORS Step 4: View HTML Page in Your Browser Double-click your saved HTML file.

HTML BASIC HTML documents can start with a type declaration. The declaration helps the browser to display a web page correctly. The HTML document itself begins with and ends with. The visible part of the HTML document is between and.

HTML BASIC Example My First Heading My first paragraph.

HTML HEADINGS HTML headings are defined with the to tags. defines the most important heading. defines the least important heading.

HTML HEADINGS This is heading 1 This is heading 2 This is heading 3 This is heading 4 This is heading 5 This is heading 6

HTML PARAGRAPHS HTML paragraphs are defined with the tag: This is a paragraph.

HTML Text Formatting The HTML element defines bold text, without any extra importance. The HTML element defines strong text. The HTML element defines italic text.

HTML Text Formatting The HTML element defines emphasized text. The HTML element defines marked or highlighted text. The HTML element defines deleted (removed) of text.

HTML Text Formatting The HTML element defines inserted (added) text. The HTML element defines subscripted text. The HTML element defines superscripted text.

HTML Text Formatting This text is normal. This text is bold. This text is strong. This text is italic. This text is emphasized. This text is marked. My favorite color is blue red. My favorite color is red. This is subscripted text. This is superscripte text.

HTML Styles Styling is about changing or adding the style. Every HTML element has a default style. Changing the default style of an HTML element, can be done with the style attribute.

HTML Styles The HTML style attribute has the following syntax: style="property:value“ Style can be, color, font, size, alignment,…

HTML Styles This is a heading This is a paragraph. This is a heading Centered Heading This is a paragraph.

HTML HORIZONTAL RULES The tag creates a horizontal line in an HTML page to separate content. In HTML, the tag has no end tag.

HTML HORIZONTAL RULES The hr tag defines a horizontal rule: This is a paragraph. This is a paragraph. This is a paragraph.

HTML ELEMENT The HTML element contains meta data. The HTML element may contain title for the browser window, style definitions, JavaScript code,…. The HTML element is placed between the tag and the tag:

HTML ELEMENT My First HTML The HTML head element contains meta data. Meta data is data about the HTML document.

HTML ELEMENT The tag provides metadata about the HTML document. Metadata will not be displayed on the page, but will be machine parsable. Meta elements are typically used to specify page description, keywords, author of the document, last modified, and other metadata. In HTML the tag has no end tag. In XHTML the tag must be properly closed.

HTML LINKS HTML links are defined with the tag. The link address is specified in the href attribute. Attributes are used to provide additional information about HTML elements

HTML LINKS HASAN KALYONCU UNIVERSITY

HTML IMAGES HTML images are defined with the tag. The source file (src), alternative text (alt), and size (width and height) are provided as attributes. The alternative text is not normally visible to readers; however, it may be displayed by web browsers when images are switched off.

HTML IMAGES

Embedding Multimedia The tag specifies video, such as a movie clip or other video streams. Currently, there are 3 supported video formats for the element: – MP4, WebM, and Ogg:

Embedding Multimedia Scr attribute specifies the URL of the video file. autoplay attribute specifies that the video will start playing as soon as it is ready. loop attribute specifies that the video will start over again, every time it is finished. control attribute specifies that video controls should be displayed (such as a play/pause button etc).

Embedding Multimedia

Audio on the Web The HTML5 element specifies a standard way to embed audio in a web page. The controls attribute adds audio controls, like play, pause, and volume. Text between the and tags will display in browsers that do not support the element. Multiple elements can link to different audio files. The browser will use the first recognized format.

Audio on the Web Your browser does not support the audio element.