Block level HTML Tags.pptx Block level HTML Tags.pptx Block level HTML Tags.pptx Block level HTML Tags.pptx Block level HTML Tags.pptx

BhargaviGorde1 18 views 9 slides Jan 09, 2024
Slide 1
Slide 1 of 9
Slide 1
1
Slide 2
2
Slide 3
3
Slide 4
4
Slide 5
5
Slide 6
6
Slide 7
7
Slide 8
8
Slide 9
9

About This Presentation

block level tag


Slide Content

Block level HTML Tags Understanding Structure in HTML

Introduction to Block-Level Tags Definition: Block-level elements create structural blocks in HTML. Behavior: These elements start on a new line and occupy the full available width by default. Examples: Show examples of block-level tags (e.g., <div>, <p>, <h1>-<h6>, < ul >, < ol >, <table>, etc.).

Divisions with <div> Definition: <div> is a versatile container used for grouping content. Purpose: It helps organize and structure content for styling or layout purposes. Example: Illustrate how <div> can enclose various elements within a block.

Paragraphs with <p> Definition: <p> represents a paragraph of text. Usage: Ideal for separating and formatting blocks of text. Example: Show usage of <p> tags with text content.

Headings with <h1> to <h6> Definition: <h1> to <h6> represent different levels of headings. Semantic Hierarchy: Explain the hierarchy and importance of these headings. Example: Show different headings and their usage.

Lists - < ul > and < ol > with <li> Definition: < ul > creates unordered lists, < ol > creates ordered lists, <li> denotes list items. Usage: Explain when to use each type of list. Example: Show both types of lists with list ite

Table Structure with <table> , <tr> , < th > , <td> Definition: <table> creates a table structure; <tr> represents table rows; < th > denotes table header cells; <td> represents regular table cells. Usage: Describe the structure of tables using these elements. Example: Display a simple table structure with rows and cells.
Tags