Start networking and exchanging professional insights

Register now or log in to join your professional community.

Follow

How to convert from html to xhtml ?

user-image
Question added by mohamed ahmed mahmoud , مصمم مواقع انترنت web designer , conect
Date Posted: 2017/03/21
medhatmahmoud mahmoud
by medhatmahmoud mahmoud , Web Designer , Connect Computer Service Co

add an xhtml <!DOCTYPE to the first line of every page

add an xmlns attribute to the html element of every page

change all element names to lowercase

close all empty elemnts

quote all attribut values 

Umair Khan
by Umair Khan , Web Developer , Innovative Designers

Just follow the rules of xhtml.

 

Document Structure

XHTML DOCTYPE is mandatory

The xmlns attribute in <html> is mandatory

<html>, <head>, <title>, and <body> are 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

 

Attribute minimization is forbidden

 

More Questions Like This

Do you need help in adding the right keywords to your CV? Let our CV writing experts help you.