Digital Media Technology Seminar 2 – 20 September 2016

Slides:



Advertisements
Similar presentations
INTRODUCTION TO HYPERTEXT MARKUP LANGUAGE 1. Outline  Introduction  Markup Languages  Editing HTML  Common Tags  Headers  Text Styling  Linking.
Advertisements

History Leading to XHTML
 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.
F DIGITAL MEDIA: COMMUNICATION AND DESIGN INTRODUCTION TO XML AND XHTML.
 2008 Pearson Education, Inc. All rights reserved. 1 Introduction to HTML.
 2004 Prentice Hall, Inc. All rights reserved. Introduction to XHTML: Part 1.
Creating a Web Page HyperText Markup Language. HTML Documents  Created using any text editor  Notepad  Vi, Pico, or Emacs  If using word-processor,
4.01 Cascading Style Sheets
 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.
CpSc 462/662: Database Management Systems (DBMS) (TEXNH Approach) HTML Basics James Wang.
Working with XHTML Creating a Well-Formed Valid Document.
XP Tutorial 9New Perspectives on Creating Web Pages with HTML, XHTML, and XML 1 Working with XHTML Creating a Well-Formed Valid Document Tutorial 9.
1 Outline 3.1 Introduction 3.2 Editing HTML 3.3 First HTML Example 3.4 W3C HTML Validation Service 3.5 Headers 3.6 Linking 3.7 Images 3.8 Special Characters.
CS 299 – Web Programming and Design Introduction to HTML.
1 XHTML محمد احمدی نیا 2 Of 19 HTML vs XHTML  XHTML is a stricter and cleaner version of HTML.  by combining the strengths of HTML.
 This presentation introduces the following: › 3 types of CSS › CSS syntax › CSS comments › CSS and color › The box model.
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.
1 John Magee 9 November 2012 CS120 Lecture 17: The World Wide Web and HTML Web Publishing.
17 Apr 2002 XML Syntax: Documents Andy Clark. Basic Document Structure Element tags – Elements have associated attributes Text content Miscellaneous –
Digital Media Technology Seminar 2 – 16 September 2014 Fleur Praal Jeroen van Honk
1 Introduction to XML XML stands for Extensible Markup Language. Because it is extensible, XML has been used to create a wide variety of different markup.
WEB DESIGN AND PROGRAMMING Introduction to XHTML.
HTML (Hyper Text Markup Language) Lecture II. Review Writing HTML files for web pages – efficient compact – fundamental. Text files with htm extension.
HTML Basics. HTML Coding HTML Hypertext markup language The code used to create web pages.
XP Review 1 New Perspectives on JavaScript, Comprehensive1 Introducing HTML and XHTML Creating Web Pages with HTML.
Basic HTML Document Structure. Slide 2 Goals (XHTML HTML5) XHTML Separate document structure and content from document formatting HTML 5 Create a formal.
XML BASICS and more…. What is XML? In common:  XML is a standard, simple, self-describing way of encoding both text and data so that content can be processed.
Introduction to HTML.
HTML Basics.
Section 4.1 Section 4.2 Format HTML tags Identify HTML guidelines
Creating a Well-Formed Valid Document
CITA 330 Section 3 XHTML.
LAB Work 01 MBA 61062: E-Commerce
4.01 Cascading Style Sheets
Marking Up with XHTML Tags describe how a web page should look
Introduction to HTML.
Elements of HTML Web Design – Sec 3-2
Elements of HTML Web Design – Sec 3-2
3.00cs HTML Overview 3.00cs Develop webpages.
Chapter 1: Introduction to XHTML (part 1)
AN INTRODUCTORY LESSON TO MAKING A SIMPLE WEB PAGE By: RC Emily Solis
The Web Warrior Guide to Web Design Technologies
Introduction to XHTML.
Elements of HTML Web Design – Sec 3-2
Chapter 4 - Introduction to XHTML: Part 1
Web Programming– UFCFB Lecture 5
COMPUTING FUNDAMENTALS
Basic HTML Document Structure
Introducing HTML & XHTML:
3.02D HTML Overview 3.02 Develop webpages.
Basic HTML and Embed Codes
Marking Up with XHTML Tags describe how a web page should look
Marking Up with XHTML Tags describe how a web page should look
1 Introduction to XHTML.
Introduction to HTML- Basics
Internet Technologies I - Lect.01 - Waleed Ibrahim Osman
Pertemuan 1b
Chapter 16 The World Wide Web.
Introduction to HTML.
Marking Up with XHTML Tags describe how a web page should look
CS3220 Web and Internet Programming HTML and XML Basics
Pertemuan 1 Desain web Pertemuan 1
Marking Up with XHTML Tags describe how a web page should look
3.02D HTML Overview 3.02 Develop webpages.
4.01 Cascading Style Sheets
4.02A HTML Overview 4.02 Develop web pages using various layouts and technologies. (Note to instructor: HTML tags are in red only to differentiate from.
محمد احمدی نیا XHTML محمد احمدی نیا
Marking Up with XHTML Tags describe how a web page should look
HTML5 and CSS3 Illustrated Unit B: Getting Started with HTML
Presentation transcript:

Digital Media Technology Seminar 2 – 20 September 2016 Fleur Praal bdms.staff@gmail.com

Homework: CV online Server sends file to client browser, which displays it. 3 2 1 Query: client requests file Server retrieves file from specified location (URL)

Homework To make content available online: Compile code in HTML Store that file on the server with WinSCP see manual at: http://bookandbyte.org/getting-started-wk1.pdf

Discussion of Homework Check your file: request it from the server with URL images and hyperlinks are also references with URLs! So what is wrong if… you see your picture on your site, but not on the faces-page? it is on the faces-page, but not on your own page? your CV is not linked to the Faces-page?

Discussion of Homework The code-editor is not meant for the display of content, only for the encoding of it. white lines or white space in the editor are not reflected in the browser! do not add <b> unnecessary white spaces! </b> mind your quotes: “ ‘’ " indent tags for your own convenience, and turn ‘line wrap’ on

Discussion of Homework Hyperlinks: <a href= "http://www.bookandbyte.org">Click here</a> Images: <img src= "me.jpg"/> Note that your image will be skewed in size if you specify both height and width and these are different from the image's own height and width, as in: <img src="me.jpg" width="300" height="400"/> (http://bookandbyte.org/2014-2015/Boomsma/cv.html)

Discussion of Homework Tables <table width= "100%" border= "1" > <tr> <td>Experience</td> <td>next-to-none</td> </tr> <tr> <td>Expectations</td> <td>sky-high</td> </tr> </table> Experience next-to-none Expectations sky-high

Today: XML 1

X(HT)ML Syntax opening tag closing tag <a href="http//:www.bookandbyte.org">BDMS Homepage</a> attribute content element (note: case-sensitive!) attribute value (note: double quotes!)

X(HT)ML Syntax rules file has one ‘root’ element, parent of all other elements the root element can be preceded by a prolog each element must be opened and closed with tags HTML has some self-closing elements: <img/>, <br/> all elements must be nested <ul> <li>first bullet</li> <li>second bullet></li> </ul>

X(HT)ML Syntax HTML document structure: <html> <head> <title>Example</title> </head> <!--note: this is a comment; it will not be displayed --> <body> <h2>This is the webpage</h2> <p>content must be properly nested, as explained <a href="http://www.w3schools.com/xml/">here</a> </p> </body> </html>

Validity of XML eXtensible Mark-up Language: should always denote structure, not form! Document instance v. document type Document Type Definition (DTD) / Schema basic rules always apply, but you can flexibly adjust additional rules for your project

Validity of XML Well-formedness: means that the XML-document instance adheres to the basic syntax rules for XML Validity: means that the XML document adheres to all the specific, extra rules that are laid down in a DTD or in an XML Schema. valid documents are also well-formed documents. useful well-formed valid