HTML BASICS : HTML BASICS
Slide 2 : HTML Compilation
XHTML- XML (Extensible Markup Language) is a markup language used to define the structure of a document. XML doesn’t do anything—it is designed solely as a means to describe the data contained in a document. HTML is designed to display data. Put them together, and you get XHTML.
Tags – bold, italics,underline.
Separating content from appearance : Separating content from appearance Use of Elements.
Lower case tags
Basic tags
Attributes
Paragraphs : Paragraphs Headings are defined with the
to tags. defines the largest heading. defines the smallest heading.
This is a heading
This is a heading
This is a heading
This is a heading
This is a heading
This is a heading
HTML automatically adds an extra blank line before and after a heading.
Line Breaks : Line Breaks The
tag is used when you want to break a line, but don't want to start a new paragraph. The
tag forces a line break wherever you place it.
This
is a para
graph with line breaks
Comments : Comments The comment tag is used to insert a comment in the HTML source code. A comment will be ignored by the browser. You can use comments to explain your code, which can help you when you edit the source code at a later date.
Note that you need an exclamation point after the opening bracket, but not before the closing bracket.