5. Wri Ng for the Web: HTML and XHTML Dr. Dave Parker

Total Page:16

File Type:pdf, Size:1020Kb

5. Wri Ng for the Web: HTML and XHTML Dr. Dave Parker 5. Wri'ng for the web: HTML and XHTML Dr. Dave Parker Informaon and the Web, 2014/15 1 Today • XML/DTDs (and Assm. 1) – brief recap/ques'ons • Wri'ng for the web – XHTML vs HTML; XHTML basics 2 XML/DTDs (and Assm. 1) • XML/DTDs – general 'ps – use a clear and sensible document structure – follow good principles • don't mix informaon, avoid redundancy, … – think about: • normalisaon, aributes vs. child elements – think ahead to larger, more complex data sets • Assessment 1 – don't forget to validate (XML and DTD) – look at the exercises (and their solu'ons) 3 Today • Wri'ng for the web – XHTML vs HTML; XHTML basics • Good prac'ces: – structured documents: seman'cs, styling – content vs. presentaon – adding metadata 4 HTML & XHTML • HTML: Hypertext Markup Language – basic language for wri'ng web pages/documents – World Wide Web Consor'um (W3C) standard – various versions: 1.1 (early 90s), …, 4.01 (1999), 5 (latest) • XHTML: Extensible HTML – reformulaon of HTML 4 in XML (i.e. same elements, aributes, …) – cleaner, stricter syntax + addi'onal rules – goals: extensibility, interoperability with other formats 5 Example: HTML <html>! <head>! <title>A Simple Example</title>! </head>! <body>! <h1>Some Simple HTML</H1>! <p>This page contains some examples of <b>elements</b>" that are commonly used in HTML documents, including:! <ul>! <li>Headings! <li>Paragraphs! <li>Unnumbered lists! <li>Bold Text! <li><IMG src=images.png>! </ul>! </body>! </html>! 6 Example: HTML <html>! <head>! <title>A Simple Example</title>! </head>! <body>! <h1>Some Simple HTML</H1>! <p>This page contains some examples of <b>elements</b>" that are commonly used in HTML documents, including:! <ul>! <li>Headings! <li>Paragraphs! <li>Unnumbered lists! <li>Bold Text! <li><IMG src=images.png>! </ul>! </body>! </html>! • Does this display correctly in a browser? • Is it XML? Is it XHTML? 7 Example: HTML <html xmlns="http://www.w3.org/1999/xhtml">! <head>! <title>A Simple Example</title>! </head>! <body>! <h1>Some Simple HTML</h1>! <p>This page contains some examples of <b>elements</b>" that are commonly used in HTML documents, including:</p>! <ul>! <li>Headings</li>! <li>Paragraphs</li>! <li>Unnumbered lists</li>! <li>Bold Text</li>! <li><img src="images.png" alt="Images" /></li>! </ul>! </body>! </html>! • Does this display correctly in a browser? Yes • Is it XML? Is it XHTML? No: 8 (types of) errors 8 HTML vs XHTML • Syntac'c differences – XHTML needs all elements to be closed (even empty ones) – XHTML needs quotaon marks around aribute values – XHTML is case-sensi've (e.g. start/end tags must match) – XHTML requires lower-case element/aribute names – XHTML requires: <html>, <head>, <body>, DOCTYPE 9 HTML vs XHTML • Which is best? • Consistency between (many) browsers? – XHTML has cleaner, stricter syntax – but un'l recently, not fully supported in some browsers • Easier to parse? – web browsers are very lenient anyway – but also: search engine crawlers, screen readers, … • Easier for extending/embedding? – e.g. MathML, SVG (vector graphics) – e.g. RDFa (seman'c web) 10 HTML 5 • Official next-generaon HTML standard – currently a W3C Candidate Recommendaon – i.e. not yet official, no browsers fully support • Aims: – improve support for mul'media – complex web applicaons (without Flash, etc.) – cross-plaorm mobile applicaons – single markup language writable in both HTML/XHTML • combines both HTML (v.4) and XHTML (v.1) • Notable syntac'c addi'ons – <canvas>, <video>, <audio>, seman'c markup, forms, … 11 XHTML: Basic structure <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">! ! <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">! !<head>! !!...! !</head>! !<body>! !!...! !</body>! </html>! • XML declaraon (<?xml … ?>) is op'onal – can cause some problems with old browsers • DOCTYPE specificaon – 3 types for (X)HTML: Strict, Transi'onal, Frameset – we will use Strict (e.g. no presentaon markup) 12 XHTML: Basic structure <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">! ! <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">! !<head>! !!...! !</head>! !<body>! !!...! !</body>! </html>! • Root element: <html> – namespace (needed), language (op'onal) • Two child elements (both needed) – <head>: page info (not shown in page) – <body>: main content of page 13 <head> • Typical contents – 'tle, metadata, external file links, JavaScript • Example Required <head>! !<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />! !<title>BBC News - Home</title>! !! !<meta name="Description" content="Visit BBC News for up-to-the-minute news, breaking news, video, audio and feature stories. BBC News provides trusted World and UK news as well as local and regional perspectives. Also entertainment, business, science, technology and health news."/>! !<meta name="OriginalPublicationDate" content="2013/01/21 12:12:03"/>! !...! ! !<link rel="stylesheet" type="text/css" href="http://static.bbci.co.uk/ frameworks/barlesque/2.23.3/desktop/3.5/style/main.css" /> ! !<script type="text/javascript"> ... </script>! !<script type="text/javascript" src="http://static.bbci.co.uk/ frameworks/barlesque/2.23.3/desktop/3.5/script/barlesque.js"></script>! ! 14 XHTML: Main elements • 2 types of elements: block-level, inline • Block-level elements (new line before/aer) – headings (e.g. <h1>), paragraphs (<p>), horizontal rule (<hr />) lists (<ul>,<ol>,<li>), pre-formaed (<pre>), tables (<table>), … – also: <div> (structure, seman'cs, layout, style) • Inline elements (within text) – formang/seman'cs (<em>, <i>, <strong>, <b>), links (<a>), images (<img />), table cells (<td>), line breaks (<br />), code (<code>) … – also: <span> (seman'cs, style) 15 XHTML con'nued… • Core XHTML element aributes – id, class, style, 'tle, xml:lang, dir • Comments in XHTML – <!-- This is a comment --> • Whitespace (spaces, tabs, newlines): ignored, mostly • Formang/presentaon – no: <font color="red" size="2">some text</font> – yes: <span style="color:red; font-size:18pt; ">text</span> – yes: <p style="background-color:yellow; ">text</p> • Tables – for tabulated data, not for website layout 16 Summary • Wri'ng for the web – XHTML vs HTML – XHTML basics • Good prac'ces: – adding metadata – structured documents: seman'cs, styling – content vs. presentaon • Next 'me – style sheets (CSS) 17 .
Recommended publications
  • Sample XHTML Code
    Sample XHTML Code Docs version: 2.0 Version date 7/29/2009 Contents • Introduction • Home page • General page structure • Tabbed content • Navigation lists • iPhone action links Introduction These code samples illustrate how we designed and developed the user for the MIT Mobile Web. These code samples are taken from the original XHTML design mockups which were the basis of the final implementation of the live MIT Mobile Web. We’re presenting these design mockups here because showing the final functional code with its back-end integration would make it harder to read the actual markup as the web browser sees it – which is what determines what the end user actually sees and interacts with. The XHTML and CSS generated by the functional code is in any case very close to these original design mockups. We’re not presenting every page for every module here. Rather, we’re showing representative pages that illustrate user-interface patterns that appear throughout the MIT Mobile Web. After studying these code snippets and the patterns they represent, you should be able to easily understand how specific pages in the MIT Mobile Web were built, as well as how to go about building new page layouts sharing a consistent basic structure, function and building blocks. For background on why we optimized the UI for three different categories of devices, please read the Introduction to the Mobile Web document. Commented source code, images and other assets for the entire MIT Mobile Web – including functional code for back-end integration – is online as a SourceForge project at http://sourceforge.net/projects/mitmobileweb/.
    [Show full text]
  • XHTML Mobile Profile Reference
    XHTML Mobile Profile Reference Version 1.0 Openwave Systems Inc. 1400 Seaport Boulevard Redwood City, CA 94063 USA http://www.openwave.com Part Number XHRF-10-004 October 2001 LEGAL NOTICE Copyright © 1994–2001, Openwave Systems Inc. Portions copyright © 1994–1999, Netscape Communications Corporation. Portions copyright © 1994–1999, Oracle Corporation. All rights reserved. These files are part of the Openwave Software Developer’s Kit (SDK). Subject to the terms and conditions of the SDK License Agreement, Openwave Systems Inc. (“Openwave”) hereby grants you a license to use the SDK software and its related documentation. OPENWAVE MAKES NO REPRESENTATIONS OR WARRANTIES, EXPRESS OR IMPLIED, REGARDING THE SDK SOFTWARE, INCLUDING, BUT NOT LIMITED TO, ANY IMPLIED WARRANTIES THAT THE SDK SOFTWARE IS FREE OF DEFECTS, MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE, OR NONINFRINGING. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE LICENSED SOFTWARE IS BORNE BY USER. USER UNDERSTANDS AND ACCEPTS THE SDK SOFTWARE AND ANY SOFTWARE SECURITY FEATURES INCLUDED WITH THE SDK SOFTWARE ARE PROVIDED ON AN “AS IS” BASIS FROM OPENWAVE, AND OPENWAVE DOES NOT WARRANT, GUARANTEE, OR MAKE ANY REPRESENTATIONS REGARDING THE USE OF, OR THE RESULTS OF THE USE OF THE SDK SOFTWARE IN TERMS OF ITS CORRECTNESS, ACCURACY, RELIABILITY, OR OTHERWISE. TO THE MAXIMUM EXTENT PERMITTED BY LAW, IN NO EVENT SHALL OPENWAVE OR ITS SUPPLIERS OR DISTRIBUTORS BE LIABLE FOR ANY DAMAGES RESULTING FROM OR ARISING OUT OF USER’S USE OF THE SDK SOFTWARE, INCLUDING, WITHOUT LIMITATION, ANY DIRECT, INDIRECT, SPECIAL, INCIDENTIAL, OR CONSEQUENTIAL DAMAGES OF ANY KIND INCLUDING WITHOUT LIMITATION, DAMAGES FOR LOSS OF GOODWILL, WORK STOPPAGE, COMPUTER FAILURE OR MALFUNCTION, OR ANY AND ALL OTHER COMMERCIAL DAMAGES OR LOSSES.
    [Show full text]
  • An Intruduction to HTML5
    Agenda * What is HTML5 -- Its history and motivation * HTML/XHTML as Human / Machine Readable Format * HTML and its related technologies * Brief summary of the changes * Models of HTML5 * Examples and demonstrations What is HTML5 -- Its history and motivation * W3C and HTML * Brief history of HTML * WHATWG and HTML5 * 'Working Draft' and 'Recommendation' * HTML5 as IDL -- Interface Definition via IDL What is HTML5 - W3C and HTML What is HTML5 - W3C and HTML What is HTML5 - Brief history of HTML HTML is born for 'Scientists' at CERN. First website (from archive@cern) Tim Berners Lee What is HTML5 - Brief history of HTML HTML (1989; CERN) HTML = HyperText Markup Language HTML 1.0 (1993; IETF) HTML 2.0 (1995; W3C) HTML 3.2 (1997; W3C) XML 1.0 (1998) HTML 4.0.1 (1999; W3C) XHTML 1.0 (2000) XHTML Basic 1.0 (2000) XHTML 1.1 (2001) XHTML Basic 1.1 (2008) What is HTML5 - Brief history of HTML HTML 4.0.1 (1999; W3C) XML 1.0 (1998) XHTML 1.0 (2000) XHTML 1.1 (2001) Extension to HTML4 (2003;Opera) PositionPaper (2004;Opera/Mozilla) What is HTML5 - Brief history of HTML http://www.w3.org/2004/04/webapps-cdf-ws/papers/opera.html What is HTML5 - Brief history of HTML HTML 4.0.1 (1999; W3C) XML 1.0 (1998) XHTML 1.0 (2000) XHTML 1.1 (2001) Extension to HTML4 (2003;Opera) PositionPaper (2004;Opera/Mozilla) WHATWG (2004;Opera/Mozilla/Apple) What is HTML5 - Brief history of HTML The Web Hypertext Application Technology Working Group (WHATWG) What is HTML5 - Brief history of HTML HTML 4.0.1 (1999; W3C) XML 1.0 (1998) XHTML 1.0 (2000) XHTML 1.1 (2001) Extension
    [Show full text]
  • Web Application Developer's Guide for the Polycom® Soundpoint® IP
    Web Application Developer’s Guide for the Polycom® SoundPoint® IP/SoundStation® IP Family SIP 3.1 August, 2008 Edition 1725-17693-310 Rev. A SIP 3.1 Trademark Information Polycom®, the Polycom logo design, SoundPoint® IP, SoundStation®, SoundStation VTX 1000®, ViaVideo®, ViewStation®, and Vortex® are registered trademarks of Polycom, Inc. Conference Composer™, Global Management System™, ImageShare™, Instructor RP™, iPower™, MGC™, PathNavigator™, People+Content™, PowerCam™, Pro-Motion™, QSX™, ReadiManager™, Siren™, StereoSurround™, V2IU™, Visual Concert™, VS4000™, VSX™, and the industrial design of SoundStation are trademarks of Polycom, Inc. in the United States and various other countries. All other trademarks are the property of their respective owners. Patent Information The accompanying product is protected by one or more U.S. and foreign patents and/or pending patent applications held by Polycom, Inc. © 2008 Polycom, Inc. All rights reserved. Polycom Inc. 4750 Willow Road Pleasanton, CA 94588-2708 USA No part of this document may be reproduced or transmitted in any form or by any means, electronic or mechanical, for any purpose, without the express written permission of Polycom, Inc. Under the law, reproducing includes translating into another language or format. As between the parties, Polycom, Inc. retains title to, and ownership of, all proprietary rights with respect to the software contained within its products. The software is protected by United States copyright laws and international treaty provision. Therefore, you must treat the software like any other copyrighted material (e.g. a book or sound recording). Every effort has been made to ensure that the information in this manual is accurate. Polycom, Inc. is not responsible for printing or clerical errors.
    [Show full text]
  • HTML5 Audio 1 HTML5 Audio
    HTML5 Audio 1 HTML5 Audio HTML • HTML and HTML5; HTML editor • Dynamic HTML • XHTML • XHTML Basic (Mobile) • XHTML Mobile Profile and C-HTML • HTML element • Span and div • HTML attribute • Character encodings; Unicode • Language code • Document Object Model • Browser Object Model • Style sheets and CSS • Font family and Web colors • HTML scripting and JavaScript • W3C, WHATWG, and validator • Quirks mode • HTML Frames • HTML5 Canvas, WebGL, and WebCL • HTML5 Audio and HTML5 video • Web storage • Web browser (layout) engine • Comparison of • document markup languages • web browsers • layout engine support for • HTML; Non-standard HTML • XHTML (1.1) • HTML5; HTML5 canvas, • HTML5 media (Audio, Video) • v • t [1] • e HTML5 Audio is a subject of the HTML5 specification, investigating audio input, playback, synthesis, as well as speech to text in the browser. HTML5 Audio 2 <audio> element The <audio> element represents a sound, or an audio stream.[2] It is commonly used to play back a single audio file within a web page, showing a GUI widget with play/pause/volume controls. Supported browsers • PC • Google Chrome • Internet Explorer 9 • Mozilla Firefox 3.5 • Opera 10.5 • Safari 3.1[3] • Mobile • Android Browser 2.3 • Blackberry Browser • Google Chrome for Android • Internet Explorer Mobile 9 • Mobile Safari 4 • Mozilla Firefox for Android • Opera Mobile 11 • Tizen Supported audio codecs This table documents the current support for audio codecs by the <audio> element. Browser Operating Formats supported by different web browsers system Ogg
    [Show full text]
  • (X)HTML Best Practice Cheat Sheet.Pdf 2007-08-13 17:49 236 KB
    (X)HTML Best Practice Cheat Sheet All elements are sorted ]able ed T within their /[ lac l y ]ep t groups in ish) [R ues prioritized tional sibili eset eset al/ ance t t s r order. ic nline(- m e er iss r ansitiona am asic ] am r r I or s r ] eaning Recommended transi t Mobile Acc 0 st 0 f 1 B 0 N ice 1 stric 1 f 5.0 h)/[ /[ m appea (X)HTML 2 01 & 1. 1.0 1. 1.1 1. 1.1 2. -is ic 4.0 4.0 act versions are L L L L ML k( ible led pr notes ble brow M ML M ML M ML M T is ty mint-colored. ML 3. ML ML 4. ML T T T O ]loc mant s T T T T HT HT HT HT nv sability est n X)H ] H H H H X XH X XH X XH X ( [B [I Se U B SE Nota U Element Standards Information Document structure <html> N Viewport in XHTML <head> I The main Viewport in HTML. <body> B N content of the Margin: 8px; document The Highly ranked and Make unique for <title> I documents will be the link- Text on the title-bar every page title or name text Only ”name = <meta> I 'description'” is useful Indicates explicit relationship between this <link> I document and other resources. As such there are many good uses! External style <style> I sheets are usually best Unobtrusive Test for Keep scripts Script may have <script> I DOM-scripts, capabilities, not external output please! browsers! Unnecassary with unobtrusive Not ignored by true <noscript> BI I scripting techniques! Forbidden in s XML parsers! XHTML 5.
    [Show full text]
  • An Introduction to Character Encoding Issues in the Mobile Web
    An introduction to character encoding 1 (12) issues in the mobile Web Eduardo CASAIS TECHNICAL PAPER 2008-12-08 AN INTRODUCTION TO CHARACTER ENCODING ISSUES IN THE MOBILE WEB Eduardo Casais areppim AG Bern, Switzerland 1. A LINGERING ISSUE Character encoding – the binary representation of every symbol in documents delivered to mobile terminals – is often treated as an afterthought in mobile Web development. Many developers simply rely upon ISO-8859-1; not a bad choice, as this encoding efficiently supports all important Western European languages, has long been available in the mobile and fixed Internet, is widespread among low-end phones, and is the default encoding in the HTTP standard. Astute software engineers prefer UTF-8; this encoding supports Unicode, and hence the widest range of languages and associated glyphs – great for multilingual “world” applications. It is also a default for several application formats, most popular in the WWW, and available in newer mobile terminals. Even in Japan, i-mode gateways may take care of the complex mapping from UTF-8 to Shift_JIS-only capable terminals. Producing content in one of these two major encodings and configuring a WWW server to advertise the content type and encoding properly generally suffices for mainstream applications. There can be complications however – especially when dealing with advanced functions or developing for exotic markets – and it is preferable to be aware of them. The article examines the situation in the context of mobile browsing. 2. THE DOCUMENT CHARACTER SET Let us briefly recapitulate some concepts. A character set is a repertoire of abstract symbols (e.g.
    [Show full text]
  • Track 3: Extending Blackberry Beyond Email Extending Web-Based Applications with the Blackberry Browser Agenda
    Track 3: Extending BlackBerry Beyond Email Extending Web-Based Applications with the BlackBerry Browser Agenda • Introduction to BlackBerry® Browser • Mark-Up Language, Security and Connectivity Options • Optimizing Web Content for BlackBerry • Server-Side PUSH Applications • What’s New in BlackBerry Enterprise Server™ and BlackBerry Browser v4.0 •Demo BlackBerry Solution: Architecture Recap .NET Corporate Application Servers J2EE Corporate Application Servers HTTP(S) BlackBerry Corporate Systems Enterprise (ERP, CRM, Databases, etc.) Server Web Servers (IIS, Apache-Tomcat) Extending Browser-Based Solutions to BlackBerry From the developer’s perspective… HTTP HTML / WML BlackBerry Web / App Browser 3DES Encryption Server Push and Pull of Data Network-independent BlackBerry Browser Overview • Main BlackBerry Browser versions include: – BlackBerry Browser v3.6 and v3.7 • All GPRS, iDEN and CDMA Java™-enabled BlackBerry handhelds • Support for color and monochrome screen handhelds – BlackBerry Browser v3.8 and v4.0 • Upgrade from BlackBerry Browser v3.7 with new features (JavaScript, Offline Forms, etc.) – RIM Browser v2.5 and v2.6 • RIM 850™, RIM 857™, RIM 950™ and RIM 957™ handhelds • DataTAC and Mobitex wireless networks in North America Mark-up Connectivity Wireless Browser-Based Security User Experience Solutions in the Enterprise Dynamic Content Push • Key questions for consideration: 1. What mark-up languages are supported? 2. How will I connect to my corporate web servers? 3. Is security important? If so, how can I address this? 4.
    [Show full text]
  • Chapter 7: HTML/XHTML I
    7. HTML and XHTML | Hypertext Markup Language, Part I 7-1 Chapter 7: HTML/XHTML I References: • Erik Wilde: World Wide Web | Technische Grundlagen. Springer, 1999, ISBN 3-540-64700-7, 641 Seiten. • Eric Ladd, Jim O'Donnell, et al.: Using HTML 4, XML, and Java 1.2, Platinum Edition. QUE, 1999, ISBN 0-7897-1759-X, 1282 pages. • Rainer Klute: Das World Wide Web. Addison-Wesley, 1996, ISBN: 389319763X. • Dave Raggett, W3C: HTML 3.2 Reference Specification. [http://www.w3.org/TR/REC-html32.html] • Dave Raggett, Arnaud Le Hors, Ian Jacobs (Eds.): HTML 4.01 Specification. W3C, Dec 24, 1999. [http://www.w3.org/TR/html4/] • User's Guide to ISO/IEC 15445:2000 HyperText Markup Language (HTML) [http://www.cs.tcd.ie/15445/UG.html] • XHTML [tm] 1.0: The Extensible HyperText Markup Language. W3C, Jan 26, 2000. [http://www.w3.org/TR/xhtml1] • Stefan M¨unz:HTML-Dateien selbst erstellen | SELFHTML. [http://www.netzwelt.com/selfhtml/] [http://www.teamone.de/selfaktuell/] • Ian Graham: Introduction to HTML. [http://www.utoronto.ca/webdocs/HTMLdocs/NewHTML/htmlindex.html] • NCSA Beginner's Guide to HTML (no longer maintained). [http://www.ncsa.uiuc.edu/General/Internet/WWW/] Stefan Brass: Grundlagen des World Wide Web Universit¨atHalle, 2016 7. HTML and XHTML | Hypertext Markup Language, Part I 7-2 Objectives After completing this chapter, you should be able to: • develop web pages in strict HTML 4.0/XHTML 1.0. • write syntactically correct HTML/XHTML. • read the HTML and XHTML specifications. • evaluate whether something is possible in HTML. • write a short paragraph about differences between HTML versions.
    [Show full text]
  • Xep-0071: Xhtml-Im
    XEP-0071: XHTML-IM Peter Saint-Andre mailto:xsf@stpeter:im xmpp:peter@jabber:org http://stpeter:im/ 2018-03-08 Version 1.5.4 Status Type Short Name Deprecated Standards Track xhtml-im This specification defines an XHTML 1.0 Integration Set for use in exchanging instant messages that contain lightweight text markup. The protocol enables an XMPP entity to format a message using a small range of commonly-used HTML elements, attributes, and style properties that are suitable for use in in- stant messaging. The protocol also excludes HTML constructs that may introduce malware and other vulnerabilities (such as scripts and objects) for improved security. Legal Copyright This XMPP Extension Protocol is copyright © 1999 – 2020 by the XMPP Standards Foundation (XSF). Permissions Permission is hereby granted, free of charge, to any person obtaining a copy of this specification (the ”Specification”), to make use of the Specification without restriction, including without limitation the rights to implement the Specification in a software program, deploy the Specification in a network service, and copy, modify, merge, publish, translate, distribute, sublicense, or sell copies of the Specifi- cation, and to permit persons to whom the Specification is furnished to do so, subject to the condition that the foregoing copyright notice and this permission notice shall be included in all copies or sub- stantial portions of the Specification. Unless separate permission is granted, modified works that are redistributed shall not contain misleading information regarding the authors, title, number, or pub- lisher of the Specification, and shall not claim endorsement of the modified works by the authors, any organization or project to which the authors belong, or the XMPP Standards Foundation.
    [Show full text]
  • HTML and CSS Tutorial Chapter 1: Getting Started
    HTML and CSS Tutorial This work is licensed under a Creative Commons License: Attribution 3.0 Unported. You are free: • to Share — to copy, distribute, and transmit the work • to Remix — to adapt the work Under the following conditions: • Attribution. You must attribute the work in the manner specified by the author or licensor. For attribution purposes, the URL to be associated with the work is http://www.goer.org/HTML, and the Title and Author of this work are as follows: “The Pocket HTML Tutorial” Copyright 2012 by Evan Goer. For any reuse or distribution, you must make clear to others the license terms of this work. Any of these conditions can be waived if you get permission from the copyright holder. Your fair use and other rights are in no way affected by the above. This is a human-readable summary of the Legal Code (the full license). Chapter 1: Getting Started Welcome to the world of HTML! If you have never written HTML code before, you should start with this section. If you’ve written HTML before, you should feel free to skip ahead to Chapter 2, Markup Basics. When you’re done with this chapter, you should be able to: • create and alter a simple web page • explain what HTML elements and attributes are • use your browser to help you view and reuse code from other websites Section Summaries The Getting Started chapter contains these sections: 1. Diving In — Demonstrates basic HTML concepts by diving in and creating a simple web page. 2. Structure — Examines document structure: the html element, the head, the title, and the body.
    [Show full text]
  • HTML and CSS COURSE SYLLABUS
    Deccansoft Software Services Html and css Syllabus HTML and CSS COURSE SYLLABUS Overview: HTML and CSS go hand in hand for developing flexible, attractively and user friendly websites. HTML (Hyper Text Markup Language) is used to show content on the page where as CSS is used for presenting the page. HTML describes the structure of a Website semantically along with presentation cues, making it a mark-up language, rather than a programming language. HTML allows images and objects to be embedded and can be used to create interactive forms. Course Objectives: HTML is highly flexible and supported on all browsers. User friendly and an open technology. It give better performance. CSS provides powerful control over the presentation of an HTML document. CSS saves many times as it can be reused in many HTML pages. CSS can be used to make responsive web pages, which are compatible on multiple devices. It can be used to allow the web pages to display differently depending on the screen size or device on which it is being viewed. Pre-requisite / Target Audience: Any beginner who wants to build career as Web designer can take this course. Module 1: Web Programming Introduction In this module, you will learn basic introduction to web development. The fundamental technology used to define the structure of a webpage. Web Development Introduction Module 2: HTML-Introduction In this module, sets the stage, getting you used to important concepts and syntax, looking at applying HTML to text, how to create hyperlinks, and how to use HTML to structure a webpage. History of HTML What you need to do to get going and make your first HTML page What are HTML Tags and Attributes? HTML Tag vs.
    [Show full text]