Coding Assignment Questions on Day-3 Content
1. Create an HTML page with the following requirements:
• A main heading (<h1>) with the text "Welcome to Full Stack Development."
• A subheading (<h2>) titled "Introduction to HTML Headings."
• A paragraph under each heading explaining the purpose of headings and paragraphs
in HTML.
2. Write an HTML page styled with Inline CSS to:
• Create a paragraph (<p>) with text styled in red and font size of 20px.
• Add a heading (<h3>) with blue text and underline styling.
3. Design a webpage using Internal CSS that includes:
• A section with a heading (<h1>), subheading (<h2>), and two paragraphs.
• Style the paragraphs with green text, Arial font, and justify the alignment.
4. Create an HTML and CSS combination to demonstrate the Box Model:
• Include a <div> with:
• width: 300px
• padding: 20px
• border: 2px solid black
• margin: 30px
• Add content inside the <div> that reads "This demonstrates the Box Model."
5. Develop an HTML page linked to an External CSS file with the following:
• An external CSS file (styles.css) to:
• Set the background color to lightblue.
• Style the <h1> heading with a font size of 36px and color darkblue.
• Style all <p> elements with font size 18px and color green.
• Link the CSS file to the HTML page and verify the styling.