


































Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
Prepare for your exams
Study with the several resources on Docsity
Earn points to download
Earn points by helping other students or get them with a premium plan
Community
Ask the community for help and clear up your study doubts
Discover the best universities in your country according to Docsity users
Free resources
Download our free guides on studying techniques, anxiety management strategies, and thesis advice from Docsity tutors
html - html
Typology: Study notes
1 / 42
This page cannot be seen from the preview
Don't miss anything!
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
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 **********
HTML headings are defined with the
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.
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
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
This is a paragraph
This is a paragraph
This is a paragraph