Skip to content

Latest commit

 

History

3 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

HTML-Day-2

Problem 3

Objective: Create a 404 error page using basic HTML tags.

Requirements:

  • Use <p> to display the error message.
  • Highlight "404" using the <strong> tag.
  • Set a light red background using inline CSS or internal CSS.
  • Set font size to at least 18px

Output of P3 Screenshot 2025-04-21 at 11 16 19 AM

Problem 4

Objective: Display an error message for a video file that cannot be loaded.

Requirements:

  • Use the <video> tag with a non-working source.
  • Below the video, show an error message inside a <p> tag.
  • Use <em> to emphasize the message.
  • Use CSS to change the background color and font size.

Output of P4

Screenshot 2025-04-21 at 11 17 48 AM

Problem 5

Objective: Simulate an audio load failure page.

Requirements:

  • Use an <audio> tag with a missing .mp3 file.
  • Add a descriptive message using <p> and <em>.
  • Set a light blue background color and increase the font size.

Output of P5 Screenshot 2025-04-21 at 11 19 51 AM

Problem 6

Objective: Create a page to show what happens when an image can't be loaded.

Requirements:

  • Use the <img> tag with an invalid image URL.

  • Display an icon or sad face using <i> or emoji.

  • Center the content and apply a light yellow background using CSS.

    Output of P6 Screenshot 2025-04-21 at 11 20 42 AM

Problem 7

File Not Found (Generic)

Objective: Create a page showing that a file (image or audio) is missing.

Requirements:

  • Use <img> and <audio> with broken paths.

  • Display a message using <strong>, <i>, and <p>.

  • Add basic CSS: background color, padding, and font style.

    Output of P7

Screenshot 2025-04-21 at 11 22 07 AM

About

Day 2 of HTML

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages