HTML
HTML
</body>
</html>
The <!DOCTYPE html> declaration
defines that this document is an HTML5
document
The <html> element is the root element of
an HTML page
The <head> element contains meta
information about the HTML page
The <title> element specifies a title for
the HTML page
The <body> element defines the
document's body
What is an HTML Element?
An HTML element is defined by a start
tag, some content, and an end tag:
<tagname> Content goeshere... </tagname>
Notepad or TextEdit
Notepad++
Sublime
Visual Studio
etc…..
XHTML EXtensible HyperText Markup Language
• <!DOCTYPE> is mandatory
• The xmlns attribute in <html> is mandatory
• <html>, <head>, <title>, and <body>
are mandatory
• Elements must always be properly nested
• Elements must always be closed
• Elements must always be in lowercase
• Attribute names must always be in lowercase
• Attribute values must always be quoted
• Attribute minimization is forbidden