Jump to content

HTML Tutorial


Donna Gruber

Recommended Posts

In the HTML Tutorial HTML quotations the first example with a large block quote which is evidently cited, there is no instruction.  So I just looked at the example and figured out what tags were there and how the tags were placed and did it. Not sure if you wanted to put a discussion about the block quote and citing before doing the Try It Yourself.  OR move the Try It Yourself exercise to after the <blockquote cite> is added.  You have <blockquote> and <cite> but unless the student is going through the example and just deducing that is what is done, there is no discussion that you can take <blockquote> and <cite> and put them together as <blockquote cite>  As a student I'm seeing <blockquote cite> </blockquote> wondering about how that works:  Why isn't it <blockquote cite> </blockquote cite>  OR is <blockquote> ever used alone or is it always used as <blockquote cite>?

Quotation

Here is a quote from WWF's website:

For 50 years, WWF has been protecting the future of nature. The world's leading conservation organization, WWF works in 100 countries and is supported by 1.2 million members in the United States and close to 5 million globally.
 
Try It Yourself

<!DOCTYPE html>
<html>
<body>

<p>Here is a quote from WWF's website:</p>
<blockquote cite="http://www.worldwildlife.org/who/index.html">
For 50 years, WWF has been protecting the future of nature.
The world's leading conservation organization,
WWF works in 100 countries and is supported by
1.2 million members in the United States and
close to 5 million globally.
</blockquote>

</body>
</html>

HTML <blockquote> for Quotations

The HTML <blockquote> element defines a section that is quoted from another source.

Browsers usually indent <blockquote> elements.

Example

<p>Here is a quote from WWF's website:</p>
<blockquote cite="http://www.worldwildlife.org/who/index.html">
For 50 years, WWF has been protecting the future of nature.
The world's leading conservation organization,
WWF works in 100 countries and is supported by
1.2 million members in the United States and
close to 5 million globally.
</blockquote>
 

HTML <cite> for Work Title

The HTML <cite> element defines the title of a work.

Browsers usually display <cite> elements in italic.

Example

<p><cite>The Scream</cite> by Edvard Munch. Painted in 1893.</p>
 

Also I think it would be helpful on the Exercises when you hit "Submit Answer" if you would not only see if it was right or wrong but display under the exercise what the code would look like/display if run: either right or wrong.  It is very helpful to me as a student to view a display that has gone wrong also.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...