Q1(i): HTML Element vs Tag
• An HTML tag is a keyword surrounded by
angle brackets like <p>.
• An HTML element includes the tag, its
content, and closing tag, e.g., <p>Text</p>.
Q1(ii): Hyperlink (New Tab)
• <a href="https://example.com"
target="_blank">Visit Example</a>
Q1(iii): Purpose of alt Attribute
• The alt attribute provides alternative text for
images. It helps in SEO and is displayed if the
image fails to load.
Q1(iv): Semantic HTML Tags
• <article>: Defines independent, self-contained
content.
• <section>: Groups related content together.
Q1(v): Purpose of <div> and
<span>
• <div> is a block-level container used for layout.
• <span> is an inline container used for text
styling.
Q1(vi): Function of class Attribute
• The class attribute is used to apply CSS styles
to HTML elements.
• Example: .red { color: red; }
Q1(vii): Ordered List HTML
• <ol>
• <li>Item One</li>
• <li>Item Two</li>
• <li>Item Three</li>
• </ol>
Q1(viii): Padding vs Margin in CSS
• Padding is space between content and border.
• Margin is space outside the border, separating
elements.
Q1(ix): Code Interpretation
• The element has both .container and #box
styles.
• #box overrides class: text becomes red,
background lightgray.
Q1(x): Internal vs Inline CSS
• Internal CSS is defined in the <style> tag in the
head.
• Inline CSS is written directly in the HTML
element using the style attribute.
Q2: Webpage Layout (HTML + CSS)
• Use semantic tags: <header>, <nav>,
<section>, <footer>.
• Example layout:
• <header>Header</header>
• <nav>Navigation</nav>
• <section>
• <div class='left'>Left Content</div>
• <div class='right'>Right Content</div>
• </section>
Q2: CSS Explanation
• Use Flexbox or Grid for layout. Example CSS:
• .container { display: flex; }
• .left, .right { width: 50%; padding: 10px; }
• Style header and footer with background and
text alignment.
• Explain each section's purpose: header for
branding, nav for links, section for main
content.
Q3: CSS Box Model
• The CSS box model includes:
• 1. Content – actual text or image
• 2. Padding – space around content
• 3. Border – line around padding
• 4. Margin – space outside border
• Example CSS:
• div {
• margin: 20px;
• border: 2px solid black;

More Related Content

PPT
Web development basics (Part-1)
PPT
Web design-workflow
PPTX
Lab#1 - Front End Development
PPT
Basic HTML/CSS
PPTX
An Overview of HTML, CSS & Java Script
ODP
Light introduction to HTML
PPTX
WELCOME (recovernjkgnjvnvnfjkvnjknnbfjked).pptx
PDF
Web development basics (Part-1)
Web design-workflow
Lab#1 - Front End Development
Basic HTML/CSS
An Overview of HTML, CSS & Java Script
Light introduction to HTML
WELCOME (recovernjkgnjvnvnfjkvnjknnbfjked).pptx

Similar to Web_Engineering_Assignment_Clean.pptxfor college (20)

PPTX
Introduction to HTML+CSS+Javascript.pptx
PPTX
Introduction to HTML+CSS+Javascript.pptx
PPTX
Ppt of web designing
PDF
Intro to HTML and CSS basics
PPTX
Html,CSS & UI/UX design
PPTX
Introduction to HTML+CSS+Javascript.pptx
PPTX
Introduction to HTML+CSS+Javascript.pptx
PPT
xhtml_css.ppt
PDF
HTML+CSS: how to get started
PDF
Code &amp; design your first website (3:16)
PDF
Introduction to HTML-CSS-Javascript.pdf
PDF
Web Dev Workshop at GDG on Campus:MGMCOE
PPTX
Workshop 2 Slides.pptx
PDF
Pfnp slides
PDF
Intro to html, css & sass
PPT
HTML & CSS.ppt
PPTX
Introduction to Web Development.pptx
PPTX
Introduction to Web Development.pptx
PPTX
Introduction to Web Development.pptx
PPTX
Html n CSS
Introduction to HTML+CSS+Javascript.pptx
Introduction to HTML+CSS+Javascript.pptx
Ppt of web designing
Intro to HTML and CSS basics
Html,CSS & UI/UX design
Introduction to HTML+CSS+Javascript.pptx
Introduction to HTML+CSS+Javascript.pptx
xhtml_css.ppt
HTML+CSS: how to get started
Code &amp; design your first website (3:16)
Introduction to HTML-CSS-Javascript.pdf
Web Dev Workshop at GDG on Campus:MGMCOE
Workshop 2 Slides.pptx
Pfnp slides
Intro to html, css & sass
HTML & CSS.ppt
Introduction to Web Development.pptx
Introduction to Web Development.pptx
Introduction to Web Development.pptx
Html n CSS
Ad

More from HUSNAINAHMAD39 (7)

PPTX
GO compiler.pptx download for learning gi
PPTX
Web_Engineering_Assignment_Clean.pptxfor web
PPTX
Dynamic Programing.pptx good for understanding
PPTX
greedy algorithm.pptx good for understanding
PPTX
USE CASE rabia_032117.pptx very good for understanding
PPTX
Lecture-20 Kleene’s Theorem-1.pptx best for understanding the automata
PDF
Nosql Presentation.pdf for DBMS understanding
GO compiler.pptx download for learning gi
Web_Engineering_Assignment_Clean.pptxfor web
Dynamic Programing.pptx good for understanding
greedy algorithm.pptx good for understanding
USE CASE rabia_032117.pptx very good for understanding
Lecture-20 Kleene’s Theorem-1.pptx best for understanding the automata
Nosql Presentation.pdf for DBMS understanding
Ad

Recently uploaded (20)

PDF
Jean-Georges Perrin - Spark in Action, Second Edition (2020, Manning Publicat...
PPTX
Lesson-01intheselfoflifeofthekennyrogersoftheunderstandoftheunderstanded
PPTX
QUANTUM_COMPUTING_AND_ITS_POTENTIAL_APPLICATIONS[2].pptx
PDF
Introduction to the R Programming Language
PPTX
SET 1 Compulsory MNH machine learning intro
PPTX
IMPACT OF LANDSLIDE.....................
PPTX
Pilar Kemerdekaan dan Identi Bangsa.pptx
PPT
lectureusjsjdhdsjjshdshshddhdhddhhd1.ppt
PDF
Votre score augmente si vous choisissez une catégorie et que vous rédigez une...
PDF
[EN] Industrial Machine Downtime Prediction
PPTX
FMIS 108 and AISlaudon_mis17_ppt_ch11.pptx
PDF
Data Engineering Interview Questions & Answers Data Modeling (3NF, Star, Vaul...
PPTX
Topic 5 Presentation 5 Lesson 5 Corporate Fin
PDF
Tetra Pak Index 2023 - The future of health and nutrition - Full report.pdf
PPTX
Introduction to Inferential Statistics.pptx
PPTX
Leprosy and NLEP programme community medicine
PDF
Systems Analysis and Design, 12th Edition by Scott Tilley Test Bank.pdf
PPT
Image processing and pattern recognition 2.ppt
PDF
Capcut Pro Crack For PC Latest Version {Fully Unlocked 2025}
PPTX
STERILIZATION AND DISINFECTION-1.ppthhhbx
Jean-Georges Perrin - Spark in Action, Second Edition (2020, Manning Publicat...
Lesson-01intheselfoflifeofthekennyrogersoftheunderstandoftheunderstanded
QUANTUM_COMPUTING_AND_ITS_POTENTIAL_APPLICATIONS[2].pptx
Introduction to the R Programming Language
SET 1 Compulsory MNH machine learning intro
IMPACT OF LANDSLIDE.....................
Pilar Kemerdekaan dan Identi Bangsa.pptx
lectureusjsjdhdsjjshdshshddhdhddhhd1.ppt
Votre score augmente si vous choisissez une catégorie et que vous rédigez une...
[EN] Industrial Machine Downtime Prediction
FMIS 108 and AISlaudon_mis17_ppt_ch11.pptx
Data Engineering Interview Questions & Answers Data Modeling (3NF, Star, Vaul...
Topic 5 Presentation 5 Lesson 5 Corporate Fin
Tetra Pak Index 2023 - The future of health and nutrition - Full report.pdf
Introduction to Inferential Statistics.pptx
Leprosy and NLEP programme community medicine
Systems Analysis and Design, 12th Edition by Scott Tilley Test Bank.pdf
Image processing and pattern recognition 2.ppt
Capcut Pro Crack For PC Latest Version {Fully Unlocked 2025}
STERILIZATION AND DISINFECTION-1.ppthhhbx

Web_Engineering_Assignment_Clean.pptxfor college

  • 1. Q1(i): HTML Element vs Tag • An HTML tag is a keyword surrounded by angle brackets like <p>. • An HTML element includes the tag, its content, and closing tag, e.g., <p>Text</p>.
  • 2. Q1(ii): Hyperlink (New Tab) • <a href="https://example.com" target="_blank">Visit Example</a>
  • 3. Q1(iii): Purpose of alt Attribute • The alt attribute provides alternative text for images. It helps in SEO and is displayed if the image fails to load.
  • 4. Q1(iv): Semantic HTML Tags • <article>: Defines independent, self-contained content. • <section>: Groups related content together.
  • 5. Q1(v): Purpose of <div> and <span> • <div> is a block-level container used for layout. • <span> is an inline container used for text styling.
  • 6. Q1(vi): Function of class Attribute • The class attribute is used to apply CSS styles to HTML elements. • Example: .red { color: red; }
  • 7. Q1(vii): Ordered List HTML • <ol> • <li>Item One</li> • <li>Item Two</li> • <li>Item Three</li> • </ol>
  • 8. Q1(viii): Padding vs Margin in CSS • Padding is space between content and border. • Margin is space outside the border, separating elements.
  • 9. Q1(ix): Code Interpretation • The element has both .container and #box styles. • #box overrides class: text becomes red, background lightgray.
  • 10. Q1(x): Internal vs Inline CSS • Internal CSS is defined in the <style> tag in the head. • Inline CSS is written directly in the HTML element using the style attribute.
  • 11. Q2: Webpage Layout (HTML + CSS) • Use semantic tags: <header>, <nav>, <section>, <footer>. • Example layout: • <header>Header</header> • <nav>Navigation</nav> • <section> • <div class='left'>Left Content</div> • <div class='right'>Right Content</div> • </section>
  • 12. Q2: CSS Explanation • Use Flexbox or Grid for layout. Example CSS: • .container { display: flex; } • .left, .right { width: 50%; padding: 10px; } • Style header and footer with background and text alignment. • Explain each section's purpose: header for branding, nav for links, section for main content.
  • 13. Q3: CSS Box Model • The CSS box model includes: • 1. Content – actual text or image • 2. Padding – space around content • 3. Border – line around padding • 4. Margin – space outside border • Example CSS: • div { • margin: 20px; • border: 2px solid black;