HTML Lecture 89 Slides
HTML Lecture 89 Slides
HTML ELEMENTS
An HTML element is defined by a start tag, some content, and an end tag.
<tagname>Content goes here...</tagname>
Examples:
The HTML <b> element defines bold text, without any extra importance.
The HTML <strong> element defines text with strong importance. The content inside
is typically displayed in bold.
The HTML <i> element defines a part of text in an alternate voice or mood. The
HTML <em> element defines emphasized text. The content inside is typically
displayed in italic.
The HTML <mark> element defines text that should be marked or highlighted
The HTML <del> element defines text that has been deleted from a document.
Browsers will usually strike a line through deleted text
The HTML <sub> element defines subscript text. Subscript text appears half a
character below the normal line
The HTML <sup> element defines superscript text. Superscript text appears half a
character above the normal line
HTML QUOTATIONS
HTML QUOTATIONS
We will go through the <blockquote>, <q>, <abbr> and <cite> HTML elements.
HTML <blockquote> for Quotations
The HTML <blockquote> element defines a section that is quoted from another source
Example:
<blockquote cite="http://www.worldwildlife.org/who/index.html">
For nearly 60 years, WWF has been protecting the future of nature. The world's leading
conservation organization, WWF works in 100 countries and is supported by more than
one million members in the United States and close to five million globally.
</blockquote>
HTML QUOTATIONS
The HTML <cite> tag defines the title of a creative work (e.g. a book, a poem, a
song, a movie, a painting, a sculpture, etc
<p><cite>The Scream</cite> by Edvard Munch. Painted in 1893.</p>
The HTML cite element defines the title of a work.
Browsers usually display cite elements in italic.
COMMENTS
COMMENTS
HTML comments are not displayed in the browser, but they can help document
your HTML source code.
With comments you can place notifications and reminders in your HTML code.
Comments are also great for debugging HTML, because you can comment out
HTML lines of code, one at a time, to search for errors
<!-- Remember to add more information here -->