Preview

HTML XHTML CSS

Good Essays
Open Document
Open Document
630 Words
Grammar
Grammar
Plagiarism
Plagiarism
Writing
Writing
Score
Score
HTML XHTML CSS
Sorniel M. Davila
Professor Bonnie Jones
CIS292 – Digital Media Design
11/18/14
HTML, XHTML & CSS
Hypertext Markup Language (HTML) is the main markup language for creating web pages. Extensible Hypertext Markup Language (XHTML) is HTML written Extensible Markup Language (XML). According to W3Schools, XML is designed to transport and store data (W3Schools). Cascading Style Sheets (CSS) is a simple mechanism for adding style (e.g., fonts, colors, and spacing) to Web documents.
HTML has been updated throughout the years. In 2006, the World Wide Web Consortium (W3C) and the Web Hypertext Application Technology Working Group (WHATWG) decided to cooperate and create a new version of HTML, HTML5. HTML5 is the new HTML standard bringing new elements, new attributes, full CSS3 support, integrated video and audio, 2D/3D graphics, and web applications; to name a few (Bos).
Technology has improved dramatically, consisting of laptops, smartphones, PDA, tablets, etc., however, with these different technologies came different browsers. Smaller devices such as smartphones lack the resources or power to interpret a "bad" markup language. Unfortunately, this wasn’t a good thing, especially how rapid technology growing. Therefore - by combining the strengths of HTML and XML, XHTML was developed. XHTML is HTML redesigned as XML (W3Schools).
There are some mark differences between the HTML and XHTML. XHTML is a stricter and cleaner version of HTML. XHTML is HTML defined as an XML application (W3Schools). According to W3Schools, the most important differences between HTML and XHTML are:
“Document Structure
XHTML DOCTYPE is mandatory
The XML namespace attribute in <html> is mandatory
<html>, <head>, <title>, and <body> is mandatory
XHTML Elements
XHTML elements must be properly nested
XHTML elements must always be closed
XHTML elements must be in lowercase
XHTML documents must have one root element
XHTML Attributes
Attribute names must be in lower case
Attribute values must be quoted



Cited: Bos, Bert. WHAT IS CSS? 19 December 2013. 4 January 2014. <http://www.w3.org/Style/CSS/>. W3Schools. CSS Introduction. 2014. 4 January 2014. <http://www.w3schools.com/css/css_intro.asp>. —. HTML - XHTML. 2014. 4 January 2014. <http://www.w3schools.com/html/html_xhtml.asp>. —. HTML - XHTML. 2014. 4 January 2014. <http://www.w3schools.com/html/html_xhtml.asp>. —. XML Tutorial. 2014. 4 January 2014. <http://www.w3schools.com/xml/default.asp>. —. You Have Learned CSS, Now What? 2014. 4 January 2014. <http://www.w3schools.com/css/css_summary.asp>.

You May Also Find These Documents Helpful

  • Satisfactory Essays

    Using the links below and Internet research, list the usage for each of the HTML tags in the table below.…

    • 242 Words
    • 1 Page
    Satisfactory Essays
  • Good Essays

    Unit 14 P1

    • 1252 Words
    • 6 Pages

    The Internet provides a variety of information and communication facilities with the use of standardised communication protocols. The World Wide Web is an information system, allows document to be connected to other documents by hyperlink text. They are formatted in a mark-up language called HTML; this supports links to other documents. This allows you to jump from one document to another simply by clicking on hot spots.…

    • 1252 Words
    • 6 Pages
    Good Essays
  • Satisfactory Essays

    unit3lab1

    • 7639 Words
    • 49 Pages

    Write a one-page paper explaining how to use those tags. Include a short example of an HTML page that properly uses the three tags.…

    • 7639 Words
    • 49 Pages
    Satisfactory Essays
  • Satisfactory Essays

    CIS 1 Ch 11 Part 2

    • 240 Words
    • 2 Pages

    8. (1 point) _____________________ is a markup language that allows field tags, data, and tables to be incorporated into a web document.…

    • 240 Words
    • 2 Pages
    Satisfactory Essays
  • Powerful Essays

    • Use the tag to create four sections in at least one of the pages. Refer to Figure 5-3 on p. 215 of New Perspectives on Blended HTML, XHTML, and CSS for ideas. Add content to each section.…

    • 1146 Words
    • 5 Pages
    Powerful Essays
  • Good Essays

    Web standards include recommendations for HTML, XHTML, Cascading style sheets, Dom, and the standardized version of…

    • 425 Words
    • 2 Pages
    Good Essays
  • Satisfactory Essays

    Cascading styles sheets are a language used most commonly to separate the document content of an HTML or XHTML file from the presentation. This allows you to separate such things as the layout, colors, fonts and more from the main HTML file or change the attributes within the file.…

    • 359 Words
    • 2 Pages
    Satisfactory Essays
  • Satisfactory Essays

    When designing a web site the web developer must factor in the different types of web browsers that will be viewing as these can create user-interface issues.…

    • 428 Words
    • 2 Pages
    Satisfactory Essays
  • Good Essays

    Html Test123

    • 1972 Words
    • 9 Pages

    HTML is a markup language for describing web documents (web pages). HTML stands for Hyper Text Markup Language…

    • 1972 Words
    • 9 Pages
    Good Essays
  • Satisfactory Essays

    Css Description Types

    • 455 Words
    • 2 Pages

    Cascading Style Sheets (CSS) is a language that is used to create one or more documents that control the appearance of some or all the pages at your Web site (Bojack, 2007). CSS styles have three categories: external, embedded, and inline. Each of these categories has its own pros and cons to using them. Each one is chosen to use based on the circumstance of what you are trying to achieve on your Web page.…

    • 455 Words
    • 2 Pages
    Satisfactory Essays
  • Satisfactory Essays

    Patient Engagement

    • 1224 Words
    • 1 Page

    --This table defines the top table with the Lab Title and Student Information -- table styleborder 1px double Graybackground-color transparentmargin-left-10px width670…

    • 1224 Words
    • 1 Page
    Satisfactory Essays
  • Powerful Essays

    Worldwideweb

    • 1371 Words
    • 6 Pages

    The World-Wide-Web is a system of Internet servers that support specially formatted documents. They are formatted in a markup language called Hypertext Markup Language (HTML) which supports and links documents, graphs, video and audio files. The Web browsers such as Microsoft Internet Explorer, Firefox, Google Chrome to name a few;…

    • 1371 Words
    • 6 Pages
    Powerful Essays
  • Satisfactory Essays

    In Figure 4.2a, which XHTML rule is the tag violating? a. All tags must be closed. b. All tags must be keyed in lowercase. c. All tags must be properly nested.…

    • 1243 Words
    • 11 Pages
    Satisfactory Essays
  • Good Essays

    The Document Object Model is a major component of Dynamic Hypertext Markup Language, or DHTML. DHTML is what has allowed web pages to become more interactive over the years. Improved animations, form processing, document manipulation, and online games are all made possible through the use of DHTML. DHTML is primarily composed of JavaScript, XHTML, CSS, and the Document Object Model (DOM). According to Chapter 10 of JavaScript 5th Edition (Gosselin, D. 2011), the DOM “represents the HTML or XML of a Web page that is displayed in a browser.” Therefore there are two aspects of the Document Object Model: HTML DOM and XML DOM. In a nutshell, the DOM is a collection of the HTML or XML elements that are rendered by a browser. To further elaborate let’s take a look at two important objects within the DOM: The Document object and the Image object.…

    • 549 Words
    • 3 Pages
    Good Essays
  • Satisfactory Essays

    As you can see, you can decide which UI element you want to use depending on the place…

    • 650 Words
    • 3 Pages
    Satisfactory Essays

Related Topics