Download presentation
Presentation is loading. Please wait.
1
Markup Languages Web Development
2
Standard Generalised Markup Language (SGML)
SGML is a metalanguage which means that it is used to create other languages – including HTML and xHTML Originally created by IBM Standardised in1986 by the International Organization for Standardisation (ISO) Powerful markup language that describes document information Very complex and difficult to learn
3
Standard Generalised Markup Language (SGML)
Standard Generalized Markup Language (SGML): A metalanguage used to create other languages, including XML, HTML and XHTML. Metalanguage: A language used for defining other languages.
4
Standard Generalised Markup Language (SGML)
SGML requires that you create your own document language rules. This set of rules is called the Document Type Definition (DTD). The DTD is generally specified in a separate file which you reference, or declare, at the beginning of each document. Once declared, all document elements must conform to this DTD.
5
Standard Generalised Markup Language (SGML)
Document Type Definition (DTD): A set of rules contained in a simple text file that defines the structure, syntax and vocabulary as it relates to tags and attributes for a corresponding document.
6
Standard Generalised Markup Language (SGML)
Document Type Declaration (<!DOCTYPE>): A declaration of document or code type embedded within an HTML, XHTML, XML or SGML document. Identifies the version and markup language used. Denoted by the <!DOCTYPE> declaration at the beginning of the document.
7
Document Type Declaration (<!DOCTYPE>)
Describes the markup language and version of your code Placed at the top of the document If you do not specify a <!DOCTYPE> declaration, then two problems may arise: You will not be able to control how your code renders in the future You will not be able to use a markup validator Each version and flavor of HTML/XHTML has its own <!DOCTYPE> declaration <!DOCTYPE html> is used for HTML5 files
8
Document Structure Tags
9
Hypertext Markup Language (HTML)
Developed by Tim Berners-Lee at CERN (European Particle Physics Laboratory) as a means of distributing non-linear text – called hypertext to multiple points across the Internet. Needed a cross-platform language that helped format documents. SGML was too complex.
10
Hypertext Markup Language (HTML)
HTML does not allow you to define a DTD Also fewer languages elements than SGML Easier to use than SGML The global set of linked documents across the existing Internet framework grew into the World Wide Web. HTML became the standard method of encoding web documents
11
Hypertext Markup Language (HTML)
HTML5 is not based on SGML Allows the simplification of HTML structure The DTD is not required
12
What is W3C? Stands for the World Wide Web Consortium ( Created in October1994 by Tim Berners-Lee Is organized as a ‘Member Organization’ Aim is to standardize the Web Creates and maintains WWW Standards Standards are called W3C Recommendations
13
How it Started The World Wide Web began as a project at the European Organization for Nuclear Research (CERN), where Tim Berners-Lee developed a vision of the World Wide Web. Tim Berners-Lee - the inventor of the World Wide Web - is now the Director of the World Wide Web Consortium (W3C).
14
How it Started W3C was created in 1994 as a collaboration between the Massachusetts Institute of Technology (MIT) and the European Organization for Nuclear Research (CERN), with support from the U.S. Defense Advanced Research Project Agency (DARPA) and the European Commission.
15
Standardizing the Web The W3C mission is to lead the World Wide Web to its full potential by developing protocols and guidelines that ensure the long-term growth of the Web.
16
Standardizing the Web W3C is working to make the Web accessible to all users (despite differences in hardware, software, network infrastructure, native language, culture, education, geographical location, and physical or mental ability) W3C also coordinates its work with many other standards organizations such as the Internet Engineering Task Force, the Wireless Application Protocols (WAP) Forum and the Unicode Consortium.
17
W3C Members Because the Web is so important (both in scope and in investment) that no single organization should have control over its future, W3C functions as a member organization. Some well known members are: IBM Microsoft America Online Apple
18
W3C Members Adobe Macromedia Sun Microsystems
The Full List of Member Organizations includes a variety of software vendors, content providers, corporate users, telecommunications companies, academic institutions, research laboratories, standards bodies, and governments.
19
W3C Recommendations The most important work done by the W3C is the development of Web specifications (called "Recommendations") which describe communication protocols (like HTML and XML) and other building blocks of the Web.
20
W3C HTML Activities HTML is the universal markup language for the Web.
21
HTML Versions – HTML 2.0 HTML 2.0 was developed by the Internet Engineering Task Force HTML Working Group in 1996. HTML 2.0 is an outdated version of HTML. For a Web developer there is no need to study the HTML 2.0 standard.
22
HTML 3.2 and HTML 4.01 HTML 3.2 is an older but functional HTML standard. Some web pages and HTML editors still use the 3.2 standard as well as the 4.01 standard.
23
HTML Versions – HTML 3.2 HTML 3.2 became a W3C Recommendation 14 January HTML 3.2 added new features such as fonts, tables, applets, superscripts, subscripts (and more) to the existing HTML 2.0 standard.
24
HTML Versions – HTML 3.2 One of the elements added to the HTML 3.2 standard, was the <font> tag. This tag introduced unnecessary complexity to the important task of separating HTML content (text) from its presentation (style). The <font> tag became deprecated in HTML 4.0.
25
HTML Versions – HTML 4.0 HTML 4.0 became a W3C Recommendation 18 December 1997. A second release was issued on 24 April 1998 with only some editorial corrections. The most important feature of HTML 4.0 was the introduction of style sheets (CSS).
26
HTML Versions – HTML 4.01 HTML 4.01 became a W3C Recommendation 24. December 1999. HTML 4.01 was a minor update of corrections and bug- fixes from HTML 4.0.
27
Hypertext Markup Language (HTML)
HTML 4.01 flavors include: 4.01 Strict – requires all container tags and does not allow deprecated tags 4.01 Transitional – allows deprecated tags, not as strict 4.01 Frameset – for use with frames
28
HTML Versions – XHTML 1.0 XHTML 1.0 reformulates HTML 4.01 in XML.
XHTML 1.0 became a W3C Recommendation 20 January 2000.
29
HTML Versions – HTML 5 On January , W3C published a working draft for HTML 5. HTML 5 improves interoperability, and reduces development costs, by making precise rules on how to handle all HTML elements, and how to recover from errors.
30
HTML Versions – HTML 5 Some of the new features in HTML 5 are functions for embedding audio, video, graphics, client-side data storage, and interactive documents. HTML 5 also contains new elements like <nav>, <header>, <footer>, and <figure>. The HTML 5 working group includes AOL, Apple, Google, IBM, Microsoft, Mozilla, Nokia, Opera, and many hundred other vendors.
31
HTML Versions – HTML 5 Offline Storage: The ability for Web browsers and online services to download and access content and services without being connected to the Internet. Geolocation: An HTML5 Application Programming Interface (API) that allows developers to retrieve the geographical location information for a client- side device.
32
W3C HTML Specifications and Timeline
Recommendation HTML 3.2 14. January 1997 HTML 4.0 24. April 1998 HTML 4.01 24. December 1999 HTML 5 19. October 2010 (latest draft)
33
W3C XHTML Activities XHTML is a stricter and cleaner version of HTML.
34
Extensible Hypertext Markup Language (xHTML)
Combines HTML with XML XHTML 1.0 flavors include: Transitional – allows deprecated tags, not as strict Strict – requires the exclusive use of CSS for all formatting elements and does not allow deprecated tags Frameset – for use with frames XHTML allows HTML to become XML-compliant
35
XHTML Versions – 1.0 XHTML 1.0 XHTML 1.0 became a W3C Recommendation 20 January 2000. XHTML 1.0 Second Edition XHTML 1.0 Second Edition became a W3C Recommendation 1 August The second edition was not a new version, but an update and a "bug-fix".
36
About XHTML 1.0 XHTML 1.0 was the first major change to HTML since XHTML was an important step for creating a standard that provided richer web pages on a wider range of user agents (browsers), like desktop PCs, mobile (wireless) devices, and cell phones.
37
About XHTML 1.0 XHTML 1.0 reformulates HTML 4.01 in XML. XHTML 1.0 relies on HTML 4.01 for the meanings of the HTML tags. W3C's next step included modularization of XHTML into smaller element collections, to make it easier to combine XHTML with other markup languages, like vector graphics or multimedia.
38
About XHTML 1.0 Modularization of XHTML reduced development costs, improved cooperation with other applications (like databases), easier communication with different user agents, and cleaner integration between HTML and different XML standards.
39
W3C XML Activities XML was designed to transport and store data.
40
Extensible Markup Language (XML)
A subset of SGML, also a metalanguage XML describes data instead of formatting HTML or XHTML provides formatting and document structure XML documents have a tree structure XML documents must be well-formed XML and valid documents: the DTD XML and style sheets
41
Extensible Markup Language (XML)
Extensible Markup Language (XML): A markup language that describes document content instead of adding structure or formatting to document content. A simplified version of SGML.
42
XML Versions – XML 1.0 and 1.1 XML 1.0
XML 1.0 became a W3C Recommendation 10. February XML 1.0 (Second Edition) XML 1.0 (SE) became a W3C Recommendation 6. October The second edition is not a new version, but an update and a "bug-fix“.
43
W3C CSS Activities CSS defines how HTML elements are to be displayed.
44
CSS Versions CSS1 CSS1 became a W3C Recommendation 17 December 1996.
CSS2 became a W3C Recommendation 11 January CSS2 has added support for media (printers and aural devices), downloadable fonts, element-positioning and tables.
45
CSS Versions CSS3 CSS3 is about breaking CSS into smaller modules.
46
W3C CSS Specifications and Timeline
Draft/Proposal Recommendation CSS 1 17. Dec 1996 CSS 1 (Revised) 11. Apr 2008 CSS 2 12. May 1998 CSS 2.1 08. Sep 2009 CSS Mobile Profile 2.0 10. Dec 2008 CSS TV Profile 1.0 14. May 2003 CSS Print Profile 13. Oct 2006
47
W3C CSS Specifications and Timeline
Draft/Proposal Recommendation CSS 3 23. May 2001 CSS 3 Namespace 23. May 2008 CSS 3 User Interface 11. May 2004 CSS 3 Selectors 10. Mar 2009 CSS3 Fonts 18. Jun 2009 CSS3 Colors 21. Jul 2008 CSS 3 TV 14. May 2003 CSS 3 Backgrounds and borders 10. Sep 2008
48
W3C CSS Specifications and Timeline
Draft/Proposal Recommendation CSS 3 Text 06. Mar 2007 CSS 3 Lists 07. Nov 2002 CSS 3 Line 15. May 2002 CSS 3 Box model 09. Aug 2007 CSS3 Multi column 30. Jun 2009 CSS3 Ruby 14. May 2003 CSS 3 Speech 16. Dec 2004
49
W3C XML Specifications and Timeline
Draft/Proposal Recommendation CSS 3 Paged Media (PM) 10. Oct 2006 CSS 3 Generated PM 04. May 2007 CSS 3 Print 13. Oct 2006 CSS 3 Values 19. Sep 2006 CSS3 Cascade 15. Dec 2005 CSS3 Template Layout 02. Apr 2009 CSS 3 Media Queries 15. Sep 2009
50
W3C DOM Activities The Document Object Model (DOM) is a platform and language neutral Application Programming Interface (API) that allows programs to access and update the content, structure, and style of a document.
51
Other W3C Activities The Web Accessibility Initiative (WAI)
WAI define guidelines for how to make Web content accessible to people with disabilities. WAI is working for "Web accessibility for all" through technology, guidelines, tools, education, research and development projects.
52
The Future of the Web The future of Web design lies within three technologies: HTML5 Cascading Style Sheets (CSS) JavaScript These technologies used together provide Web pages that easily adapt to smartphones, tablets, gaming devices and smart TVs, as well as to traditional PCs
Similar presentations
© 2025 SlidePlayer.com. Inc.
All rights reserved.