















Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!
















Contents โ Headings โ Line Break โ Paragraphs โ HTML Display Tags ๏ (^) PRE, B, STRONG, I, EM, SMALL, MARK, DEL, INS, SUB, SUP, HR
Headings Are Important โ (^) It is important to use headings to show the document structure. โ Search engines use the headings to index the structure and content of your web pages. โ (^) Use HTML headings for headings only. Don't use headings to make text BIG or bold.
Heading Attributes Attribut e Value Description align left center right Not supported in HTML5. Specifies the alignment of a heading
Line Breaks โ (^) The HTML
element defines a line break. โ Use
if you want a line break (a new line) without starting a new paragraph: โ (^) The
tag is an empty tag, which means that it has no end tag. Software
Engineering
Paragraphs โ (^) The element defines a paragraph : โ (^) Browsers automatically add some white space (a margin) before and after a paragraph. The margins can be modified with CSS (with the margin properties). โ The syntax for the
tag is:
This is a paragraph.
Don't Forget the End Tag โ Most browsers will display HTML correctly without using the end tag. โ E.g.This is a paragraph. โ (^) The example above will work in most browsers, but do not rely on it. โ (^) Dropping the end tag can produce unexpected results or errors in some browsers.
HTML Display โ (^) You cannot be sure how HTML will be displayed. โ (^) Large or small screens, and resized windows will create different results. โ (^) With HTML, you cannot change the output by adding extra spaces or extra lines in your HTML code. โ (^) The browser will remove any extra spaces and extra lines when the page is displayed:This paragraph contains a lot of lines in the source code, but the browser ignores it.
and Elements โ (^) Both have the same effect but โ The HTML element defines bold text, without any extra importance. โ (^) The HTML element defines strong text, with added semantic "strong" importance.
This text is normal.
This text is bold.
This text is strong.
and Elements โ Actually both have the same effects but โ The HTML element defines italic text, without any extra importance. โ The HTML element defines emphasized text, with added semantic importance.
This text is normal.
This text is italic.
This text is emphasized
Element โ (^) The HTML element defines marked or highlighted text: โ E.g.
Long LivePakistan
Element โ (^) The HTML element defines deleted (removed) text. E.G
I am in third fourth semester.
Element โ The HTML element defines subscripted text.
nlogn
Element โ The HTML element defines superscripted text.
I am in 4th semester