Create a simple website about your favourite book/story, and include those 5 tags in the HTML.

Pankaj
2 min readMay 22, 2020

--

I Create a simple website about my favourite story and include those 5 tags in the HTML.

  1. The <base> tag specifies the base URL and/or target for all relative URLs in a document.
  2. The <article> tag specifies independent, self-contained content.
  3. The <audio> tag is used to embed sound content in a document, such as music or other audio streams.
  4. The <form> tag is used to create an HTML form for user input.
  5. The <iframe> tag specifies an inline frame.

<!DOCTYPE html>
<!DOCTYPE html>
<html>
<head>
<meta charset=”utf-8">
<meta name=”viewport” content=”width=device-width”>
<title>Story</title>
<! — The <base> tag specifies the base URL and/or target for all relative URLs in a document →
<base href=”https://google.com/" target=”_blank”>
</head>
<body>
<! — The <article> tag specifies independent, self-contained content →
<article>
<h2>Everyone Has a Story in Life </h2>
<p>A 24 year old boy seeing out from the train’s window shouted…

“Dad, look the trees are going behind!”
Dad smiled and a young couple sitting nearby, looked at the 24-year old’s childish behaviour with pity, suddenly he again exclaimed…

“Dad, look the clouds are running with us!”

The couple couldn’t resist and said to the old man…

“Why don’t you take your son to a good doctor?” The old man smiled and said…“I did and we are just coming from the hospital, my son was blind from birth, he just got his eyes today.”

Every single person on the planet has a story. Don’t judge people before you truly know them. The truth might surprise you. </p>
</article>
<p>My family and I visited The Epcot center this summer. The weather was nice, and Epcot was amazing! I had a great summer together with my family!</p><br><br>

<! — The <audio> tag is used to embed sound content in a document, such as music or other audio streams. →

<audio controls>
<source src=”Regrets.ogg” type=”audio/ogg”>
<source src=”Regrets.mp3" type=”audio/mpeg”>
</audio><br><br>

<! — start of form (The <form> tag is used to create an HTML form for user input) →
<form action=”/action_page.php”>
<label for=”fname”>First name:</label>
<input type=”text” id=”fname” name=”fname”><br><br>
<label for=”lname”>Last name:</label>
<input type=”text” id=”lname” name=”lname”><br><br>
<label for=”comment”>Comment:</label>
<input type=”text” id=”comment” name=”comment”><br><br>
<input type=”submit” value=”Submit”>
</form><br><br>
<! — End of form →

<! — The <iframe> tag specifies an inline frame →
<iframe src=”https://www.google.com" title=”Search new story”></iframe>

</body>
</html>

Output

--

--

Pankaj
Pankaj

Written by Pankaj

I’m a programmer and entrepreneur. I write mostly about technology and programming. More articles in process…(Weekly)

No responses yet