SlideShare a Scribd company logo
1 of 16
Computer
Programming
Quarter 2 – Module 1
CREATING A NEW PARAGRAPH
COMPUTER PROGRAMMING
CREATING A NEW PARAGRAPH
___
Module 1
RUPERT GARRY C. TORRES
Subject Teacher
Paragraphs appear more often than any
other text block in web pages. Remember, though,
that HTML browsers don’t recognize hard returns
that you enter when you create your page inside
an editor. You must use a <p> tag to tell the
browser to package all text up to the next closing
</p> tag as a paragraph.
INTRODUCTION
CREATING A NEW PARAGRAPH
It’s about time to start writing paragraphs to put in some content on it. In HTML, there
are tags for writing paragraphs. Yes, it’s a container tag and it is the <p></p>.
To create a paragraph, follow these steps:
1. Add <p> in the body of the document.
2. Type the content of the paragraph.
3. Add </p> to close that paragraph.
Here’s what it looks like: Here’s the output in the browser:
Aligning a Paragraph
You can align a paragraph by using the paragraph tag pair <p align=left>, <p align=left>
or <p align=center>.
Here’s the output in the browser:
Aligning a Paragraph
Quoting Passages
You can place quotes in indented form and shrink them to be set apart from the main
paragraph by using the tag pair <blockquote> </blockquote>.
Here’s the output in the browser:
Ordered List
You can present data in
enumerated format or list. The first type
of list is the ordered list or more
commonly known as the numbered list.
This is the type of list where each item is
numbered usually starting at 1 (but can be
changed using the start attribute). The
ordered list uses container tag <ol></ol>.
Each item in this list is specified by the
empty tag <li>.
Ordered List
You can present data in
enumerated format or list. The first type
of list is the ordered list or more
commonly known as the numbered list.
This is the type of list where each item is
numbered usually starting at 1 (but can be
changed using the start attribute). The
ordered list uses container tag <ol></ol>.
Each item in this list is specified by the
empty tag <li>.
Here’s the output in the browser:
Ordered List
Notice that the value for the start attribute in the last list is 4 and since that list is to
enumerate the items using lowercase Roman Numerals, it started its count on iv. The ordered list has
different types of numbering and can be specified value for the type attribute:
• 1 for regular numbering (1, 2, 3, 4, etc.)
• a for lowercase alphabet (a, b, c, d, etc.)
• A for uppercase alphabet (A, B, C, D, etc.)
• i for lowercase Roman Numeral (i, ii, iii, iv, etc.)
• I for uppercase Roman Numerals (I, II, III, IV, etc.)
Unordered List
If there’s an ordered or
numbered type of list, there is also an
unordered type of list. This type of list
that enumerates each item is not
numbered but rather bulleted. The type
attribute of <ul> is obsolete in HTML 4.01.
Instead, use the CSS syntax <ul
style=”list-style-type: . . . “> </ul>.
Unordered List
If there’s an ordered or
numbered type of list, there is also an
unordered type of list. This type of list
that enumerates each item is not
numbered but rather bulleted. The type
attribute of <ul> is obsolete in HTML 4.01.
Instead, use the CSS syntax <ul
style=”list-style-type: . . . “> </ul>.
Here’s the output in the browser:
Unordered List
The unordered list has different types of bullet to be used and can be specified by keying the
specified value for the type attribute:
• disc for filled, round bullets, for example <ul style=”list-style-type:disc”>
• circle for unfilled, circular bullets, for example <ul style=”list-style-type:circle”>
• square for square bullets, for example <ul style=”list-style-type:square”>
Nesting Lists
Did you ever think of what could
possibly happen if you put an ordered list
within an unordered list? Lists can actually be
nested, meaning a list can be put inside
another list. For example, you can put an
ordered list within an unordered list in order
to create a multiple-level list.
Nesting Lists
Did you ever think of what could
possibly happen if you put an ordered list
within an unordered list? Lists can actually be
nested, meaning a list can be put inside
another list. For example, you can put an
ordered list within an unordered list in order
to create a multiple-level list.
Here’s the output in the browser:

More Related Content

Similar to Module 1 Creating new paragraph

Similar to Module 1 Creating new paragraph (20)

M02 un05 p01
M02 un05 p01M02 un05 p01
M02 un05 p01
 
HTML LIST
HTML LISTHTML LIST
HTML LIST
 
Web design - Working with Text and Lists in HTML
Web design - Working with Text and Lists in HTMLWeb design - Working with Text and Lists in HTML
Web design - Working with Text and Lists in HTML
 
Chapter 2 Final.pptx
Chapter 2 Final.pptxChapter 2 Final.pptx
Chapter 2 Final.pptx
 
Use of Lists and Tables in HTML
Use of Lists and Tables in HTMLUse of Lists and Tables in HTML
Use of Lists and Tables in HTML
 
Html
HtmlHtml
Html
 
tableslist.pptx
tableslist.pptxtableslist.pptx
tableslist.pptx
 
v3-html-list-210321161325.pdf
v3-html-list-210321161325.pdfv3-html-list-210321161325.pdf
v3-html-list-210321161325.pdf
 
Html link and list tags
Html link and list tagsHtml link and list tags
Html link and list tags
 
Introduction to (x)html
Introduction to (x)htmlIntroduction to (x)html
Introduction to (x)html
 
Htmlppt 100604051515-phpapp01
Htmlppt 100604051515-phpapp01Htmlppt 100604051515-phpapp01
Htmlppt 100604051515-phpapp01
 
Python Tutorial Part 1
Python Tutorial Part 1Python Tutorial Part 1
Python Tutorial Part 1
 
Creating lists
Creating listsCreating lists
Creating lists
 
computer language - html lists
computer language - html listscomputer language - html lists
computer language - html lists
 
PPT-203105353-1.pdf
PPT-203105353-1.pdfPPT-203105353-1.pdf
PPT-203105353-1.pdf
 
Html
HtmlHtml
Html
 
Html
HtmlHtml
Html
 
Std 10 Computer Chapter 4 List and Table Handling in HTML(Part 1 List in HTML)
Std 10 Computer Chapter 4 List and Table Handling in HTML(Part 1 List in HTML)Std 10 Computer Chapter 4 List and Table Handling in HTML(Part 1 List in HTML)
Std 10 Computer Chapter 4 List and Table Handling in HTML(Part 1 List in HTML)
 
Html web designing using lists
Html web designing using listsHtml web designing using lists
Html web designing using lists
 
ProgPrinc_Lecture_3_Data_Structures_and_Iteration-2.pdf
ProgPrinc_Lecture_3_Data_Structures_and_Iteration-2.pdfProgPrinc_Lecture_3_Data_Structures_and_Iteration-2.pdf
ProgPrinc_Lecture_3_Data_Structures_and_Iteration-2.pdf
 

Recently uploaded

भारत-रोम व्यापार.pptx, Indo-Roman Trade,
भारत-रोम व्यापार.pptx, Indo-Roman Trade,भारत-रोम व्यापार.pptx, Indo-Roman Trade,
भारत-रोम व्यापार.pptx, Indo-Roman Trade,Virag Sontakke
 
Enzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdf
Enzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdfEnzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdf
Enzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdfSumit Tiwari
 
CARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptxCARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptxGaneshChakor2
 
Interactive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communicationInteractive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communicationnomboosow
 
Earth Day Presentation wow hello nice great
Earth Day Presentation wow hello nice greatEarth Day Presentation wow hello nice great
Earth Day Presentation wow hello nice greatYousafMalik24
 
Crayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon ACrayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon AUnboundStockton
 
Employee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptxEmployee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptxNirmalaLoungPoorunde1
 
History Class XII Ch. 3 Kinship, Caste and Class (1).pptx
History Class XII Ch. 3 Kinship, Caste and Class (1).pptxHistory Class XII Ch. 3 Kinship, Caste and Class (1).pptx
History Class XII Ch. 3 Kinship, Caste and Class (1).pptxsocialsciencegdgrohi
 
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPTECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPTiammrhaywood
 
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptxPOINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptxSayali Powar
 
KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)————IMP.OF KSHARA ...
KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)————IMP.OF KSHARA ...KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)————IMP.OF KSHARA ...
KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)————IMP.OF KSHARA ...M56BOOKSTORE PRODUCT/SERVICE
 
Framing an Appropriate Research Question 6b9b26d93da94caf993c038d9efcdedb.pdf
Framing an Appropriate Research Question 6b9b26d93da94caf993c038d9efcdedb.pdfFraming an Appropriate Research Question 6b9b26d93da94caf993c038d9efcdedb.pdf
Framing an Appropriate Research Question 6b9b26d93da94caf993c038d9efcdedb.pdfUjwalaBharambe
 
Organic Name Reactions for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions  for the students and aspirants of Chemistry12th.pptxOrganic Name Reactions  for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions for the students and aspirants of Chemistry12th.pptxVS Mahajan Coaching Centre
 
Full Stack Web Development Course for Beginners
Full Stack Web Development Course  for BeginnersFull Stack Web Development Course  for Beginners
Full Stack Web Development Course for BeginnersSabitha Banu
 
Computed Fields and api Depends in the Odoo 17
Computed Fields and api Depends in the Odoo 17Computed Fields and api Depends in the Odoo 17
Computed Fields and api Depends in the Odoo 17Celine George
 
How to Configure Email Server in Odoo 17
How to Configure Email Server in Odoo 17How to Configure Email Server in Odoo 17
How to Configure Email Server in Odoo 17Celine George
 
Final demo Grade 9 for demo Plan dessert.pptx
Final demo Grade 9 for demo Plan dessert.pptxFinal demo Grade 9 for demo Plan dessert.pptx
Final demo Grade 9 for demo Plan dessert.pptxAvyJaneVismanos
 
Capitol Tech U Doctoral Presentation - April 2024.pptx
Capitol Tech U Doctoral Presentation - April 2024.pptxCapitol Tech U Doctoral Presentation - April 2024.pptx
Capitol Tech U Doctoral Presentation - April 2024.pptxCapitolTechU
 

Recently uploaded (20)

Model Call Girl in Bikash Puri Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Bikash Puri  Delhi reach out to us at 🔝9953056974🔝Model Call Girl in Bikash Puri  Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Bikash Puri Delhi reach out to us at 🔝9953056974🔝
 
भारत-रोम व्यापार.pptx, Indo-Roman Trade,
भारत-रोम व्यापार.pptx, Indo-Roman Trade,भारत-रोम व्यापार.pptx, Indo-Roman Trade,
भारत-रोम व्यापार.pptx, Indo-Roman Trade,
 
Enzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdf
Enzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdfEnzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdf
Enzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdf
 
CARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptxCARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptx
 
Interactive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communicationInteractive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communication
 
Earth Day Presentation wow hello nice great
Earth Day Presentation wow hello nice greatEarth Day Presentation wow hello nice great
Earth Day Presentation wow hello nice great
 
Crayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon ACrayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon A
 
Employee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptxEmployee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptx
 
History Class XII Ch. 3 Kinship, Caste and Class (1).pptx
History Class XII Ch. 3 Kinship, Caste and Class (1).pptxHistory Class XII Ch. 3 Kinship, Caste and Class (1).pptx
History Class XII Ch. 3 Kinship, Caste and Class (1).pptx
 
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPTECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
 
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptxPOINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
 
KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)————IMP.OF KSHARA ...
KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)————IMP.OF KSHARA ...KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)————IMP.OF KSHARA ...
KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)————IMP.OF KSHARA ...
 
Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝
 
Framing an Appropriate Research Question 6b9b26d93da94caf993c038d9efcdedb.pdf
Framing an Appropriate Research Question 6b9b26d93da94caf993c038d9efcdedb.pdfFraming an Appropriate Research Question 6b9b26d93da94caf993c038d9efcdedb.pdf
Framing an Appropriate Research Question 6b9b26d93da94caf993c038d9efcdedb.pdf
 
Organic Name Reactions for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions  for the students and aspirants of Chemistry12th.pptxOrganic Name Reactions  for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions for the students and aspirants of Chemistry12th.pptx
 
Full Stack Web Development Course for Beginners
Full Stack Web Development Course  for BeginnersFull Stack Web Development Course  for Beginners
Full Stack Web Development Course for Beginners
 
Computed Fields and api Depends in the Odoo 17
Computed Fields and api Depends in the Odoo 17Computed Fields and api Depends in the Odoo 17
Computed Fields and api Depends in the Odoo 17
 
How to Configure Email Server in Odoo 17
How to Configure Email Server in Odoo 17How to Configure Email Server in Odoo 17
How to Configure Email Server in Odoo 17
 
Final demo Grade 9 for demo Plan dessert.pptx
Final demo Grade 9 for demo Plan dessert.pptxFinal demo Grade 9 for demo Plan dessert.pptx
Final demo Grade 9 for demo Plan dessert.pptx
 
Capitol Tech U Doctoral Presentation - April 2024.pptx
Capitol Tech U Doctoral Presentation - April 2024.pptxCapitol Tech U Doctoral Presentation - April 2024.pptx
Capitol Tech U Doctoral Presentation - April 2024.pptx
 

Module 1 Creating new paragraph

  • 1. Computer Programming Quarter 2 – Module 1 CREATING A NEW PARAGRAPH
  • 2. COMPUTER PROGRAMMING CREATING A NEW PARAGRAPH ___ Module 1 RUPERT GARRY C. TORRES Subject Teacher
  • 3. Paragraphs appear more often than any other text block in web pages. Remember, though, that HTML browsers don’t recognize hard returns that you enter when you create your page inside an editor. You must use a <p> tag to tell the browser to package all text up to the next closing </p> tag as a paragraph. INTRODUCTION
  • 4. CREATING A NEW PARAGRAPH It’s about time to start writing paragraphs to put in some content on it. In HTML, there are tags for writing paragraphs. Yes, it’s a container tag and it is the <p></p>. To create a paragraph, follow these steps: 1. Add <p> in the body of the document. 2. Type the content of the paragraph. 3. Add </p> to close that paragraph.
  • 5. Here’s what it looks like: Here’s the output in the browser:
  • 6. Aligning a Paragraph You can align a paragraph by using the paragraph tag pair <p align=left>, <p align=left> or <p align=center>. Here’s the output in the browser:
  • 8. Quoting Passages You can place quotes in indented form and shrink them to be set apart from the main paragraph by using the tag pair <blockquote> </blockquote>. Here’s the output in the browser:
  • 9. Ordered List You can present data in enumerated format or list. The first type of list is the ordered list or more commonly known as the numbered list. This is the type of list where each item is numbered usually starting at 1 (but can be changed using the start attribute). The ordered list uses container tag <ol></ol>. Each item in this list is specified by the empty tag <li>.
  • 10. Ordered List You can present data in enumerated format or list. The first type of list is the ordered list or more commonly known as the numbered list. This is the type of list where each item is numbered usually starting at 1 (but can be changed using the start attribute). The ordered list uses container tag <ol></ol>. Each item in this list is specified by the empty tag <li>. Here’s the output in the browser:
  • 11. Ordered List Notice that the value for the start attribute in the last list is 4 and since that list is to enumerate the items using lowercase Roman Numerals, it started its count on iv. The ordered list has different types of numbering and can be specified value for the type attribute: • 1 for regular numbering (1, 2, 3, 4, etc.) • a for lowercase alphabet (a, b, c, d, etc.) • A for uppercase alphabet (A, B, C, D, etc.) • i for lowercase Roman Numeral (i, ii, iii, iv, etc.) • I for uppercase Roman Numerals (I, II, III, IV, etc.)
  • 12. Unordered List If there’s an ordered or numbered type of list, there is also an unordered type of list. This type of list that enumerates each item is not numbered but rather bulleted. The type attribute of <ul> is obsolete in HTML 4.01. Instead, use the CSS syntax <ul style=”list-style-type: . . . “> </ul>.
  • 13. Unordered List If there’s an ordered or numbered type of list, there is also an unordered type of list. This type of list that enumerates each item is not numbered but rather bulleted. The type attribute of <ul> is obsolete in HTML 4.01. Instead, use the CSS syntax <ul style=”list-style-type: . . . “> </ul>. Here’s the output in the browser:
  • 14. Unordered List The unordered list has different types of bullet to be used and can be specified by keying the specified value for the type attribute: • disc for filled, round bullets, for example <ul style=”list-style-type:disc”> • circle for unfilled, circular bullets, for example <ul style=”list-style-type:circle”> • square for square bullets, for example <ul style=”list-style-type:square”>
  • 15. Nesting Lists Did you ever think of what could possibly happen if you put an ordered list within an unordered list? Lists can actually be nested, meaning a list can be put inside another list. For example, you can put an ordered list within an unordered list in order to create a multiple-level list.
  • 16. Nesting Lists Did you ever think of what could possibly happen if you put an ordered list within an unordered list? Lists can actually be nested, meaning a list can be put inside another list. For example, you can put an ordered list within an unordered list in order to create a multiple-level list. Here’s the output in the browser: