How to Convert from HTML to XHTML
How to Convert from HTML to XHTML
- Add an XHTML <!DOCTYPE> to the first line of every page<!DOCTYPE html>
- Add an xmlns attribute to the html element of every page: <html xmlns="http://www.w3.org/1999/xhtml">
- Change all element names to lowercase
- Close all empty elements
- Change all attribute names to lowercase
- 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