Home >> Tutorials/FAQs >> Index

XHTML Tutorials and Tips - 182 Entries

It doesn't matter whether you are a beginner or an experienced author of Web documents, browse through our XHML sample codes and tutorial tips. They will always help you to improve your skills and find some good ideas to solve your coding problems.

So far, Our Webmaster have written 182 XHTML tutorial tips to share with you. Each one of them answers one commonly asked XHMTL question with a short, but precise and clear tutorial exercise. More tips will be available soon. Please come back to visit this page again.

By: FYIcenter.com

XHTML Tutorials - Introduction To XHTML 1.0

A collection of 17 FAQs on XHTML 1.0 introduction. Clear answers are provided for frequently asked questions on what is XHTML, Web, HTTP, XML, HTML, URL, SGML, CSS, and DTD; who developed XHTML; writing and viewing XHTML documents.

  1. What Is XHTML?
  2. What Does an XHTML Document Look Like?
  3. What Is the Relation between XHTML and HTML?
  4. What Is the Relation between XHTML and XML?
  5. What Is the Relation between XHTML and the Web?
  6. What Is the Relation between XHTML and HTTP?
  7. What Is the Relation between XHTML and URL?
  8. What Is URI?
  9. What Is the Relation between XHTML and SGML?
  10. What Is the Relation between XHTML and CSS?
  11. What Is the Relation between XHTML and DTD?
  12. Who Developed XHTML?
  13. What Is the Latest XHTML Specification?
  14. How Many Tags Are Defined in XHTML 1.0?
  15. How To Validate XHTML Documents Online?
  16. What Tools to Use to Write XHTML Documents?
  17. What Tools to Use to View XHTML Documents?

More...

XHTML Tutorials - Introduction To Tag and Attribute Syntax

A collection of 16 tutorial tips on XHTML 1.0 element tag and attribute syntax. Clear answers are provided with tutorial exercises on XHTML elements, opening and closing tags, element attributes, quoting attribute values, required attribute and values, case sensitivity, entering comments, protecting ampersand sign.

  1. What Is an XHTML Element?
  2. How To Enter Comments into XHTML Documents?
  3. How To Write the Opening Tag of an XHTML Element?
  4. How To Close an XHTML Element?
  5. What Is Wrong with My <br> Tags?
  6. What Is Wrong with My <meta> Tags?
  7. How To Enter Element Content?
  8. Is XHTML Element Name Case Sensitive?
  9. What Is an XHTML Element Attribute?
  10. How To Write Element Attributes Properly?
  11. Is Attribute Name Case Sensitive?
  12. How To Quote Element Attribute Values Properly?
  13. How To Write Ampersand Sign in Attribute Values?
  14. What Is a Required Attribute?
  15. What Are Predefined Attribute Values?
  16. What Is Wrong with My "checked" Attribute Values?

More...

XHTML Tutorials - Introduction To Element Content Syntax

A collection of 17 tutorial tips on XHTML 1.0 element content syntax and basics. Clear answers are provided with tutorial exercises on XHTML element content models, EMTPY and PCDATA element contents, sub-element only contents, mixed contents, XHTML entities and CDATA, nested elements, white space characters.

  1. What Is the XHTML Element Content?
  2. What Are the XHTML Element Content Models?
  3. What Are the XHTML Elements Defined with EMPTY Contents?
  4. What Are the XHTML Elements Defined with PCDATA Contents?
  5. What Are the XHTML Elements Defined with Sub-elements Contents?
  6. What Are the XHTML Elements Defined with Mixed Contents?
  7. What Is PCDATA?
  8. What Is an XHTML Entity?
  9. What Is CDATA?
  10. What Is a Sub-element?
  11. Can Two Elements Partially Overlap Each Other?
  12. What Is the Sequence of Sub-elements?
  13. What Is a Required Sub-element?
  14. What Is a White Space Character?
  15. How Exactly White Space Characters Are Ignored?
  16. How To Get an Extra White Space?

More...

XHTML Tutorials - Document Structure and Head Level Tags

A collection of 22 FAQs/tutorials tips on XHTML document structure and head level elements. Clear answers are provided with tutorial exercises on XHTML DTD specifications and the root element; the head and body elements; head level elements like title, meta, base, script, link, and style; description and keywords meta elements.

  1. What is the Top Level Structure of an XHTML Document?
  2. How Many Document Types Defined in XHTML 1.0?
  3. What Is the "html" Tag/Element?
  4. What is the Second Level Structure of an XHTML Document?
  5. What Is the "head" Tag/Element?
  6. What Is the "body" Tag/Element?
  7. How To Write a "head" Element Properly?
  8. What Is the "title" Tag/Element?
  9. What is a Smallest Valid XHTML Dodument?
  10. What Is Wrong with This "head" Element?
  11. What Happens If the "title" Element is Missing?
  12. What Happens If a "meta" Element Is Not Closed?
  13. What Is a "meta" Tag/Element?
  14. What Is the Description "meta" Tag/Element?
  15. What Is the Keywords "meta" Tag/Element?
  16. What Is the Robots "meta" Tag/Element?
  17. What Is a http-equiv "meta" Tag/Element?
  18. What Is the Author "meta" Tag/Element?
  19. What Is the "base" Tag/Element?
  20. What Is a "script" Tag/Element?
  21. What Is a "link" Tag/Element?
  22. What Is a "style" Tag/Element?

More...

XHTML Tutorials - Body Tag and Block Level Tags

A collection of 18 FAQs/tutorials tips on XHTML body tag and block level tags. Clear answers are provided with tutorial exercises on XHTML body element and its sub-elements; normal paragraphs and pre-formatted paragraphs, in-line elements in paragraphs, line breaks and paragraph spacing, block level elements: p, pre, blockquote, h1, hr.

  1. What Is the "body" Tag/Element?
  2. What Is Wrong with My "body" Elements?
  3. What Elements Are Allowed as Body Sub-Elements?
  4. What Attributes Are Allowed in the Body Element?
  5. What Is a "p" Tag/Element?
  6. Can I Mix Images with Text in a Paragraph?
  7. How To Control Line Breaks in a Paragraph?
  8. How To Highlight One Part of a Paragraph?
  9. How To Get Extra Space between Paragraphs?
  10. What Is Wrong with My "p" Elements?
  11. What Is a "pre" Tag/Element?
  12. Are Tab Characters Preserved in a "pre" Element?
  13. Can Images Be Included in "pre" Elements?
  14. What Is a "blockquote" Tag/Element?
  15. Can "blockquote" Elements Be Nested?
  16. What Are Heading Tags/Elements?
  17. What Are "hr" Tags/Elements?
  18. What Are Other Block Elements?

More...

XHTML Tutorials - Understanding In-line Elements and Tags

A collection of 11 FAQs/tutorials tips on XHTML inline elements and tags. Clear answers are provided with tutorial exercises on inline elements like: strong, em, code, sub, sup, del, ins, big, small, br, script.

  1. What Are Inline Elements?
  2. What Are Commonly Used Inline Elements?
  3. What Is a "strong" Tag/Element?
  4. What Is an "em" Tag/Element?
  5. What Is an "code" Tag/Element?
  6. What Are "sub" and "sup" Tags/Elements?
  7. What Are "del" and "ins" Tags/Elements?
  8. What Are "big" and "small" Tags/Elements?
  9. What Is a "br" Tag/Element?
  10. What Is a "script" Tag/Element?
  11. What Are Other Inline Elements?

More...

XHTML Tutorials - Understanding Hyper Links and URLs

A collection of 16 FAQs/tutorials tips on XHTML hyper links and URLs. Clear answers are provided with tutorial exercises on anchor tags/elements, URL structures, different formats of URLs, hyper links to image, music, PDF and ZIP files, opening documents in new windows.

  1. What Are Hyper Links?
  2. What Is an Anchor "a" Tag/Element?
  3. How To Define a Hyper Link?
  4. How To Define a Bookmark?
  5. What Is a URL?
  6. What Is the Structure of a URL?
  7. What Happens If Protocol or Port Number Is Missing in a URL?
  8. What Happens If a URL Starts with Path or File name?
  9. What Is a Relative Path Name?
  10. What Happens If File Name is Missing in a URL?
  11. How To Build Hyper Link Indexes within the Same Document?
  12. What Happens If a Hyper Link Points to an Image?
  13. What Happens If a Hyper Link Points to a Music File?
  14. What Happens If a Hyper Link Points to a PDF File?
  15. What Happens If a Hyper Link Points to a ZIP File?
  16. How To Create A Link to Open a Document in a New Window?

More...

XHTML Tutorials - Understanding Lists and List Items

A collection of 9 FAQs/tutorials tips on XHTML list elements and list items. Clear answers are provided with tutorial examples on list elements for ordered lists, unordered lists, and definition lists; creating nested lists; including multiple paragraphs in one list item; changing list item markers.

  1. What Are List Elements?
  2. What Is an "ol" Tag/Element?
  3. What Is a "li" Tag/Element?
  4. Can Multiple Paragraphs Be Included in a List Item?
  5. What Is a "ul" Tag/Element?
  6. What Is a "dl" Tag/Element?
  7. Can List Elements Be Nested?
  8. How To Use Different Markers on Ordered List Items?
  9. How To Use Different Markers on Unordered List Items?

More...

XHTML Tutorials - Understanding Tables and Table Cells

A collection of 17 FAQs/tutorials tips on XHTML tables and table cells. Clear answers are provided with tutorial exercises on table elements like: table, tr, td, th, caption; table attributes like: border, frame, cellspacing, cellpadding; row and cell attributes like: align, valign, colspan, rowspan.

  1. What Is a "table" Tag/Element?
  2. What Is a "tr" Tag/Element?
  3. What Is a "td" Tag/Element?
  4. What Are the Attributes of a "table" Element?
  5. How To Create Table Borders?
  6. How To Turn On Some Parts of Table Outer Borders?
  7. How To Control White Spaces between Table Cells?
  8. How To Control Padding Spaces within a Table Cell?
  9. How To Control Table Widths?
  10. What Happens If One Row Has Missing Columns?
  11. How To Control Horizontal Alignment in Table Cells?
  12. How To Control Vertical Alignment?
  13. How To Add Column Headers to a Table?
  14. What Is a "caption" Tag/Element?
  15. How To Merge Cells in a Row?
  16. How To Merge Cells in a Column?
  17. How To Create Nested Tables?

More...

XHTML Tutorials - Understanding Forms and Input Fields

A collection of 25 FAQs/tutorials tips on XHTML forms and input fields. Clear answers are provided with tutorial exercises on forms and input fields: form elements and submission methods; input elements and input types like text, password, radio, checkbox, hidden, submit, file, image, button; dropdown lists and text areas; multiple forms.

  1. What Is a "form" Tag/Element?
  2. What Are the Attributes of a "form" Element?
  3. What Is an "input" Tag/Element?
  4. How Many Input Types Are Supported by "input" Elements?
  5. How To Use "text" Input Fields?
  6. How To Use "password" Input Fields?
  7. How To Use "checkbox" Input Fields?
  8. What Are the Values Submitted on Checkbox Fields?
  9. How To Use "radio" Input Fields?
  10. What Are the Values Submitted on Radio Button Fields?
  11. How To Use "submit" Input/Action Fields?
  12. What Are the Values Submitted on Submit Button Fields?
  13. How To Use "reset" Input/Action Fields?
  14. How To Use "file" Input Fields?
  15. How To Use "hidden" Input Fields?
  16. How To Use "image" Input Fields?
  17. What Are the Values Submitted on Image Button Fields?
  18. How To Use "button" Input Fields?
  19. What Is a "textarea" Tag/Element?
  20. What Are the Attributes of a "textarea" Element?
  21. What Is a "select" Tag/Element?
  22. What Is an "option" Tag/Element?
  23. What Is a "label" Tag/Element?
  24. Can Two Forms Be Nested?
  25. Do Broswers Support Multiple Forms?

More...

XHTML Tutorials - Understanding Inline Images and Image Maps

A collection of 8 FAQs/tutorials tips on XHTML image and image map elements. Clear answers are provided with tutorial exercises on inline images and image maps: image elements and image sizes; floating images and animated images, server-side and client-side image maps.

  1. What Is an "img" Tag/Element?
  2. What Are the Attributes of an "img" Element?
  3. How To Reduce the Display Size of an Image?
  4. How To Float an Image to the Right Side?
  5. What Is an Animated Image?
  6. What Is a Server-Side Image Map?
  7. What Is a Client-Side Image Map?
  8. What Is a "map" Tag/Element?

More...

XHTML Tutorials - Understanding DIV and SPAN elements

A collection of 6 FAQs/tutorials tips on XHTML "div" and "span" elements. Clear answers are provided with tutorial exercises on basic usages of "div" and "span" elements; nesting and floating "div" elements; changing fonts with "span" elements.

  1. What Is a "div" Tag/Element?
  2. How To Use "div" Elements to Change CSS Properties?
  3. Can "div" Elements Be Nested?
  4. Can "div" Elements Be Floated?
  5. What Is a "span" Tag/Element?
  6. How To Change Text Fonts for Some Parts of a Paragraph?

More...

XHTML 1.0 - Interview Questions

Here are some nice interview questions on XHTML 1.0. You can find answers to these questions in other parts of this tutorial collection.

  1. Interview Questions - Basic Concepts
  2. Interview Questions - XHTML Syntax
  3. Interview Questions - Block Elements
  4. Interview Questions - Inline Elements
  5. Interview Questions - Table Elements
  6. Interview Questions - Hyper Links and Images
  7. Interview Questions - Forms and Input Fields
  8. Interview Questions - General

More...


Selected Developer Jobs:

More...