{[ promptMessage ]}

Bookmark it

{[ promptMessage ]}

Lecture 12 - CNIT 17600 IT Architectures Extensible HTML...

Info icon This preview shows pages 1–5. Sign up to view the full content.

View Full Document Right Arrow Icon
1 CNIT 17600 IT Architectures Extensible HTML Some Terminology Clarifications Tags are technically called elements Tag options are technically called attributes <img src =“/images/pic.jpg” /> 2 Element Attribute Value
Image of page 1

Info icon This preview has intentionally blurred sections. Sign up to view the full version.

View Full Document Right Arrow Icon
2 What is XHTML? XHTML = e X tensible HyperText Markup Language Relatively close to HTML 4.0 Is based on XML, which requires wellformedness Stricter, cleaner version of HTML Can be used in both HTML and XML environments XHTML is meant to do away with “bad code” that basic HTML parsers tolerate 3 The Good News XHTML uses most of the same tags that HTML does If you’re familiar with HTML, learning XHTML isn’t tough XHTML documents can be parsed by HTML readers E.g., older browsers 4
Image of page 2
3 The Bad News XHTML enforces rules that are “optional” in HTML HTML is lenient of “bad code” Requires the use of several definitions to specify the XHTML rules for the document Unlike HTML, XHTML is case sensitive 5 The New Rules XHTML enforces the following rules Elements and attributes must be in lower case <img SRC=“picture.jpg”> <img src =“picture.jpg”> Attribute values must be quoted <img src=picture.jpg> <img src =“picture.jpg”> 6 Not Allowed Allowed
Image of page 3

Info icon This preview has intentionally blurred sections. Sign up to view the full version.

View Full Document Right Arrow Icon
4 The New Rules (cont.) XHTML enforces the following rules Elements must be properly nested <b><i>Bold and italic content</b></i> <b><i>Bold and italic content</i></b>
Image of page 4
Image of page 5
This is the end of the preview. Sign up to access the rest of the document.

{[ snackBarMessage ]}

What students are saying

  • Left Quote Icon

    As a current student on this bumpy collegiate pathway, I stumbled upon Course Hero, where I can find study resources for nearly all my courses, get online help from tutors 24/7, and even share my old projects, papers, and lecture notes with other students.

    Student Picture

    Kiran Temple University Fox School of Business ‘17, Course Hero Intern

  • Left Quote Icon

    I cannot even describe how much Course Hero helped me this summer. It’s truly become something I can always rely on and help me. In the end, I was not only able to survive summer classes, but I was able to thrive thanks to Course Hero.

    Student Picture

    Dana University of Pennsylvania ‘17, Course Hero Intern

  • Left Quote Icon

    The ability to access any university’s resources through Course Hero proved invaluable in my case. I was behind on Tulane coursework and actually used UCLA’s materials to help me move forward and get everything together on time.

    Student Picture

    Jill Tulane University ‘16, Course Hero Intern