In: Computer Science
HTML mark-up text
know the following HTML tags:
· <html>
· <body>
· <head>
· <p>
· <h1>, <h2>, <h3>, etc…
· <a>
· <img>
· <br>
· <hr>
· <pre>
· <i>
· <b>
· <em>
· <sub>
· <ins>
· <strong>
· <mark>
· <cite>
· <address>
· <abbr>
After you have reviewed these HTML tags and developed a sense of how they manipulate the presentation of the mark-up, write a sample page of HTML that briefly goes over each of these tags and demonstrates how it is used. If you can, indicate a couple of the style properties that can also be manipulated on these tags with short demonstrations.
You can just make your submission the form of an informative web-page, or you can use the elements reviewed and create a webpage with creative flair. For this assignment, select your favorite poem and write mark-up to make it appears in an aesthetically pleasing manner while taking care to demonstrate your knowledge and mastery of the listed tags.
Demo.html
<!DOCTYPE html>
<!-- HTML documents must start with a <!DOCTYPE>
-->
<html>
<!--Root of an HTML document -->
<head>
<!--
element is a container for metadata (data about data) -->
<title>Title of
favorite poem</title>
<!-- tag title of the
document. The title must be text-only, and it is shown in the
browser's title bar or in the page's tab.-->
</head>
<body>
<!--Element contains
all the contents of an HTML document-->
<p>This is a
paragraph.</p>
<!--tag defines a
paragraph.-->
<h1>This is a
heading</h1>
<!--tags are used to
define HTML headings.-->
<h2>This is a
heading</h2>
<!--tags are used to
define HTML headings.-->
<h3>This is a
heading</h3>
<!--tags are used to
define HTML headings.-->
<h4>This is a
heading</h4>
<!--tags are used to
define HTML headings.-->
<h5>This is a
heading</h5>
<!--tags are used to
define HTML headings.-->
<h6>This is a
heading</h6>
<!--tags are used to
define HTML headings.-->
<a
href="https://www.google.com">Visit google.com!</a>
<!--tag defines a
hyperlink, which is used to link from one page to
another.-->
<img
src="poem.jpg" width="500" height="600" />
<!--tag creates a
holding space for the referenced image.-->
<p>
ine breaks<br />
in a text,<br />
use the br<br />
</p>
<!--tag inserts a
single line break.-->
<hr />
<!--tag defines a
thematic break in an HTML page-->
<pre>
Text in a pre element
is displayed in a fixed-width
font, and it preserves
both spaces and
line breaks poem
</pre>
<!--element is
displayed in a fixed-width font, and the text preserves both spaces
and line breaks.-->
<p><i>poem</i> favorite poem</p>
<!-- tag defines a
part of text in an alternate voice or mood. The content inside is
typically displayed in italic.-->
<p><b>poem</b> favorite poem</p>
<!--tag specifies
bold text without any extra importance.-->
<p><em>poem
!!!</em> favorite poem</p>
<!--tag is used to
define emphasized text. The content inside is typically displayed
in italic.-->
<p>This text poem
<sub>subscript</sub> plz</p>
<!-- tag defines
subscript text. Subscript text appears half a character below the
normal line -->
<p>This text
poem<del>blue</del>
<ins>red</ins>!</p>
<!-- tag defines a
text that has been inserted into a document -->
<strong>This text
poem important!</strong>
<!-- tag is used to
define text with strong importance. The content inside is typically
displayed in bold. -->
<p>This text poem
<mark>LOVE</mark> today.</p>
<!-- tag defines text
that should be marked or highlighted. -->
<p><cite>The
poem</cite> One favorite poem</p>
<!-- tag defines the
title of a creative work (e.g. a poem, ). -->
<address>
Written by <a
href="https://www.google.com">ABC</a>.<br />
Visit us at:<br />
google.com<br />
Box 564
</address>
<!-- tag defines the
contact information for the author/owner of a document or an
article. -->
The <abbr
title="favorite poem">poem</abbr> was founded in
1948.
<!-- tag defines an
abbreviation or an acronym, like "HTML", "CSS", -->
</body>
</html>