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

    DOM Level 3, the current release of the DOM specification, published in April 2004, added support for XPath and keyboard event handling, as well as an interface for serializing documents as XML. Since the beginning of 2004 there are also W3C DOM Level 3 recommendations for Core, Load and Save, and Validation where Level 3 Core again improves and refines Level 2 Core while the other two modules add new features.…

    • 559 Words
    • 3 Pages
    Satisfactory Essays
  • Good Essays

    HTML is currently in its fifth revision or HTML53. With HTML5 a standard is set for how to display the web page; where pictures are displayed, fonts used for text and total layout of the page. XML (extensible markup language) is used for web documents. CCS (cascading style sheet) is written into the HTML document or attached as a file to define the appearance of the displayed page.…

    • 897 Words
    • 4 Pages
    Good Essays
  • 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

    Use the HTML 5.1 specification and the documents on Web Platform Docs to research three semantic 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
  • 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
  • Good Essays

    Web standards promote higher accessibility and usability; it suggests a set of rules in which every developer can follow and understand (Boudreau, 2002). Standards set by W3C, World Wide Web Consortium, will ensure that most browsers used will present the website as it was intended to be, without time consuming rewrites of code for specific browsers (W3schools, 2013). Accessibility is very important as it allows the web to be used by individuals with disabilities but also individuals with unconventional browsers to access any web page. In today’s society web browsers are not only used on desktop computers but also from handheld devices to mobile phones; standards help achieve a more stable web experience no matter when and where you access the web. Backward browser compatibility is another important factor brought by web standards; web pages coded in new versions of web browsers are still generally supported in an older version and vice versa.…

    • 425 Words
    • 2 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
  • 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
  • Powerful Essays

    Vb Sof 540

    • 11992 Words
    • 48 Pages

    An HTML document is similar to a word-processing document in that it specifies how a particular text element will appear.…

    • 11992 Words
    • 48 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
  • 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