Total Pageviews

How to Convert from HTML to XHTML

How to Convert from HTML to XHTML

  1. Add an XHTML <!DOCTYPE> to the first line of every page<!DOCTYPE html>
  2.  Add an xmlns attribute to the html element of every page: <html xmlns="http://www.w3.org/1999/xhtml">
  3.  Change all element names to lowercase
  4. Close all empty elements
  5. Change all attribute names to lowercase
  6. Quote all attribute values

 Difference between HTML and DHTML
HTML (Hyper Text Markup Language) is the most widely accepted language used to build websites. It is the main structure of a website. It builds tables, creates divisions, gives a heading message (In the title bar of programs), and actually outputs text.

dHTML (Dynamic Hyper Text Markup Language) is not a language, but the art of using HTML, JavaScript, and CSS together to create dynamic things, such as navigation menus. 

0 comments:

Post a Comment