Docsity
Docsity

Prepare for your exams
Prepare for your exams

Study with the several resources on Docsity


Earn points to download
Earn points to download

Earn points by helping other students or get them with a premium plan


Guidelines and tips
Guidelines and tips

HTML W3School, Study notes of Web Design and Development

html - html

Typology: Study notes

2012/2013

Uploaded on 01/29/2013

bunkeraditya
bunkeraditya 🇮🇳

4

(2)

8 documents

1 / 42

Toggle sidebar

This page cannot be seen from the preview

Don't miss anything!

bg1
HTML is a language for describing web pages.
HTML stands for Hyper Text Markup Language
HTML is a markup language
A markup language is a set of markup tags
The tags describe document content
HTML documents contain HTML tags and plain text
HTML documents are also called web pages
pf3
pf4
pf5
pf8
pf9
pfa
pfd
pfe
pff
pf12
pf13
pf14
pf15
pf16
pf17
pf18
pf19
pf1a
pf1b
pf1c
pf1d
pf1e
pf1f
pf20
pf21
pf22
pf23
pf24
pf25
pf26
pf27
pf28
pf29
pf2a

Partial preview of the text

Download HTML W3School and more Study notes Web Design and Development in PDF only on Docsity!

HTML is a language for describing web pages.

HTML stands for Hyper Text Markup Language HTML is a markup language A markup language is a set of markup tags The tags describe document content HTML documents contain HTML tags and plain text HTML documents are also called web pages

********** HTML Tags **********

HTML markup tags are usually called HTML tags

HTML tags are keywords (tag names) surrounded by angle brackets like HTML tags normally come in pairs like and The first tag in a pair is the start tag, the second tag is the end tag

"HTML tags" and "HTML elements" are often used to describe the same thing. But strictly speaking, an HTML element is everything between the start tag and the end tag, including the tags

********** HTML Versions : **********

Version Year

  • HTML
  • HTML+
  • HTML 2.0
  • HTML 3.2
  • HTML 4.01
  • XHTML 1.0
  • HTML5
  • XHTML5

There are many different documents on the web, and a browser can only display an HTML page 100% correctly if it knows the HTML type and version used.

********** HTML Basic **********

  1. HTML Headings :

HTML headings are defined with the

to

tags. e.g.

This is a heading

Use HTML headings for headings only. Don't use headings to make text BIG or bold. Search engines use your headings to index the structure and content of your web pages Since users may skim your pages by its headings, it is important to use headings to show the document structure.

  1. HTML Links HTML links are defined with the tag....The link address is specified in the href attribute. e.g. This is a link
  2. HTML Images HTML images are defined with the tag...The filename and the size of the image are provided as attributes. e.g.

------------------------------------------------------------- HTML Elements

An HTML element starts with a start tag / opening tag An HTML element ends with an end tag / closing tag

This is my first paragraph.

The element defines the body of the HTML document. The element has a start tag and an end tag .

********** The element: **********

This is my first paragraph.

The element defines the whole HTML document

------------------------------------------------------------- HTML Attributes

Attributes provide additional information about HTML elements.

HTML elements can have attributes Attributes provide additional information about an element

Attributes are always specified in the start tag Attributes come in name/value pairs like: name="value"

Always Quote Attribute Values Attribute values should always be enclosed in quotes. Double style quotes are the most common, but single style quotes are also allowed. In some rare situations, when the attribute value itself contains quotes, it is necessary to use single quotes:

id Specifies a unique id for an element style Specifies an inline CSS style for an element title Specifies extra information about an element (displayed as a tool tip)

********** HTML Lines **********

The


tag creates a horizontal line in an HTML page. The hr element can be used to separate content:

This is a paragraph


This is a paragraph


This is a paragraph