尊敬的 微信汇率:1円 ≈ 0.046166 元 支付宝汇率:1円 ≈ 0.046257元 [退出登录]
SlideShare a Scribd company logo
   HTML defines the structure and layout of a Web
    document by using a variety of tags and attributes.
     ◦ HTML Define
        Acronym for Hypertext Markup Language
        A document use for creating web pages.
     ◦ Parts of the HTML Document
        Head section
         <head><title></title></head>
        Body section
         <body></body>




                                                          2
<html>
 <head>
    <title>…</title>
 </head>
 <body>
    Page contents….
 </body>
</html>



                       3
◦ a software used for authoring web documents. A
  simple text editor like Notepad is sufficient for
  creating web pages, but there are advanced HTML
  editors that can be used to speed-up the
  development process.
◦ Some of these are:
  Microsoft FrontPage
  Dreamweaver




                                                      4
   Paragraph - <p></p>
   List – ordered list<ol>,unordered list<ul>
   Image - <img>
   Link - <a>
   Heading – <H1> to <H6>
   Table - <table>
   Form




                                                 5
<p> This is the first paragraph.</p>
<p>This is the second paragraph.</p>
<p>This is the third paragraph.</p>




This is the first paragraph.
This is the second paragraph.
This is the third paragraph.




                                       6
   align
   id
   Example:
    ◦ <p align=center>…</p>
    ◦ <p id=p1>…</p>




                              7
Sample tag
<ol>Favorite colors
<li>White
<li>Pink
<li>Blue
<li>Green
<li>Brown
</ol>



                      8
   Type
    ◦   1
    ◦   I
    ◦   A
    ◦   a




            9
Sample Tag
<ul>Favorite colors
<li>White
<li>Pink
<li>Blue
<li>Green
<li>Brown
</ul>



                      10
   Type
    ◦ Disc
    ◦ Square
    ◦ circle




               11
   Type
   start
   Example:
    ◦ <ol type=1 start=5>…</ol>
    ◦ <ul type=disc</ul>
    ◦ Output




                                  12
   Image tag attributes
    ◦ src = source image
    ◦ width = image width
    ◦ Height = image height
Sample
<img src=Penguins.jpg width=100
 height=100>




                                  13
   Anchor tag attributes:
    ◦ href=The href attribute specifies the destination of
      a link
    ◦ target= The target attribute specifies where to open
      the linked document
Sample
<a href=img.html>Penguin</a>




                                                             14
1.    Create one paragraph (Brief history of PUP)
        Save it as history.html
2.    Create list for the following:
     1. Colleges (Ordered list)
     2. Courses (Unordered list)
        Save as aboutus.html
3.    Add the logo of PUP at the top of the PUP
      history paragraph.
4.    Create link to history.html and aboutus.html
        Save as index.html



                                                     15
Sample Heading tag
<h1>This is heading h1.</h1>
<h2>This is heading h2.</h2>
<h3>This is heading h3.</h3>
<h4>This is heading h4.</h4>
<h5>This is heading h5.</h5>
<h6>This is heading h6.</h6>




                               16
17
Sample Table tag
<table border=1 width=50%>
<tr><th>Rank</th><th>Name</th><th>Div
 ision/Office</th></tr>
<tr><td>PCI</td><td>Amir Hassan
 Ali</td><td>Inspectorate Office</td></tr>
<tr><td>PCI</td><td>Victorio Dela
 Peña</td><td>Data Warehouse Provision
 Office</td></tr>
</table>

                                             18
19
   Form elements
    ◦ Input tag
    ◦ Select tag
   Input tag types
    ◦   Text
    ◦   Radio
    ◦   Checkbox
    ◦   Submit
    ◦   Button
   Select tag


                      20
<form>
Rank: <select><option
  value=PO1>PO1</option><option
  value=PO2>PO2</option><option
  value=PO3>PO3</option>
</select><br>
Name:<input type=text name=pname
  maxlength=50><br>
Civil Status:<input type=radio value=Single
  >Single<input type=radio value=Married
  >Married<input type=radio value=Widow >Widow<br>
Unit Assignment:<input type=text name=unit><br>
<input type=submit value=Submit>
</form>



                                                     21
22
   Create form with the following fields
    ◦   Employee Number
    ◦   Lastname
    ◦   Firstname
    ◦   Middlename
    ◦   Position
   Arrange the layout of the form using Table
    tag
   Output



                                                 23
   Cascading Style Sheets (CSS) is a
    simple mechanism for adding style
    (e.g., fonts, colors, spacing) to Web
    documents
   A style is used to predefine the format
    for any HTML tag in the document.
   CSS is defined in <style></style> tag
    and usually place inside
    <head>…</head>
   Three types: External, Internal and
    Inline
                                              24
   External CSS – a style sheet outside HTML
    document and can be embedded or link to HTML
    document by using <link> tag.
    ◦ It is ideal when the style is applied to many pages.
   Internal CSS – a style sheet place inside the HTML
    document.
    ◦ The style is used to a single page.
    ◦ Format: <head><style>…</style></head>
   Inline CSS - An inline style can be used if a unique
    style is to be applied to one single occurrence of an
    element.
    ◦ <p style="color:blue;margin-left:20px;">This is a
      paragraph.</p>


                                                             25
<head>
<style>
p {align:center:
color:gray;
font-family:Arial;
font-size:12px;}

table,td,th{
border:solid ; border-color:gray;
font-family:Arial; font-size:14px;
color:#666666;
padding-left:15px;
padding-right:15px;
}</style>
</head>
                                     26
ITMS Training and Research
                   Division   27
   Create the CSS for the following tag:
    ◦ Paragraph
       Font-family: arial
       Color: #666666
       fo
    ◦ Table
       Border: solid
       Border-color:#cccccc
       Font-family:arial
       Color:#666666
    ◦ ol and ul
      Font-family:arial
      Color:#333333
 Open the webpages you created previously and add the
  following to the head section:
<head> <link href="design.css" rel="stylesheet"
  type="text/css"></head>



                                                         28
   Use <table> tag
    ◦ Create table with two columns and four rows




                                                    29
<h3><center>Template using table tag</center></h3>
<table width="347" border="1" align="center">
 <tr>
  <td colspan="2"><div align="center“
  >Header/Banner</div></td>
 </tr>
 <tr>
  <td colspan="2"><div
  align="center">Navigation/Menu</div></td>
 </tr>
 <tr>
  <td width="55" height="89"><p align="center">ADS</td>
  <td width="282">ARTICLES</td>
 </tr>
 <tr>
  <td colspan="2"><div align="center">FOOTER</div></td>
   </tr>
</table>

                                    ITMS Training and Research
                                                       Division   30
<div class=wrapper width=800px>
  <div id=header><img src=header.jpg></div>
  <div id=nav>Home<br>About Us<br>Contact Us</div>
  <div id=content>Contents here</div>
  <div id=footer>Copyright 2011
  www.itms.pnp.gov.ph</div>
</div>




                               ITMS Training and Research
                                                  Division   31
   Create your desired template, choose from
    div or table tag.
   Create also the CSS for this template and add
    it to the head section.




                           ITMS Training and Research
                                              Division   32
ITMS Training and Research
                   Division   33
ITMS Training and Research
                   Division   34

More Related Content

What's hot

HTML (Hyper Text Markup Language) by Mukesh
HTML (Hyper Text Markup Language) by MukeshHTML (Hyper Text Markup Language) by Mukesh
HTML (Hyper Text Markup Language) by Mukesh
Mukesh Kumar
 
Css starting
Css startingCss starting
Css starting
Rahul Dihora
 
Chapter 4a cascade style sheet css
Chapter 4a cascade style sheet cssChapter 4a cascade style sheet css
Chapter 4a cascade style sheet css
Tesfaye Yenealem
 
Introduction to css
Introduction to cssIntroduction to css
Introduction to css
Joseph Gabriel
 
html
htmlhtml
Cascading Style Sheet
Cascading Style SheetCascading Style Sheet
Cascading Style Sheet
KushagraChadha1
 
Cascading Style Sheet | CSS
Cascading Style Sheet | CSSCascading Style Sheet | CSS
Cascading Style Sheet | CSS
MSA Technosoft
 
Css
CssCss
Introduction to CSS
Introduction to CSSIntroduction to CSS
Introduction to CSS
Folasade Adedeji
 
CSS (Cascading Style Sheet)
CSS (Cascading Style Sheet)CSS (Cascading Style Sheet)
CSS (Cascading Style Sheet)
Harshit Srivastava
 
Css Basics
Css BasicsCss Basics
Css Basics
Jay Patel
 
Introduction to Html by Ankitkumar Singh
Introduction to Html by Ankitkumar SinghIntroduction to Html by Ankitkumar Singh
Introduction to Html by Ankitkumar Singh
Ankitkumar Singh
 
Web technology lab manual
Web technology lab manualWeb technology lab manual
Web technology lab manual
neela madheswari
 
HTML basic
HTML basicHTML basic
HTML basic
Yoeung Vibol
 
The three types of style sheet lesson two fourth quarter fourth year
The three types of style sheet lesson two fourth quarter fourth yearThe three types of style sheet lesson two fourth quarter fourth year
The three types of style sheet lesson two fourth quarter fourth year
Perry Mallari
 
web development basics tables part2
web development basics tables part2web development basics tables part2
web development basics tables part2
Kalluri Vinay Reddy
 
Html tutorials by www.dmdiploma.com
Html tutorials by www.dmdiploma.comHtml tutorials by www.dmdiploma.com
Html tutorials by www.dmdiploma.com
ShwetaAggarwal56
 
Css introduction
Css introductionCss introduction
Css introduction
Sridhar P
 
Web Technology Lab File
Web Technology Lab FileWeb Technology Lab File
Web Technology Lab File
Kandarp Tiwari
 
CSS
CSS CSS
CSS
Sunil OS
 

What's hot (20)

HTML (Hyper Text Markup Language) by Mukesh
HTML (Hyper Text Markup Language) by MukeshHTML (Hyper Text Markup Language) by Mukesh
HTML (Hyper Text Markup Language) by Mukesh
 
Css starting
Css startingCss starting
Css starting
 
Chapter 4a cascade style sheet css
Chapter 4a cascade style sheet cssChapter 4a cascade style sheet css
Chapter 4a cascade style sheet css
 
Introduction to css
Introduction to cssIntroduction to css
Introduction to css
 
html
htmlhtml
html
 
Cascading Style Sheet
Cascading Style SheetCascading Style Sheet
Cascading Style Sheet
 
Cascading Style Sheet | CSS
Cascading Style Sheet | CSSCascading Style Sheet | CSS
Cascading Style Sheet | CSS
 
Css
CssCss
Css
 
Introduction to CSS
Introduction to CSSIntroduction to CSS
Introduction to CSS
 
CSS (Cascading Style Sheet)
CSS (Cascading Style Sheet)CSS (Cascading Style Sheet)
CSS (Cascading Style Sheet)
 
Css Basics
Css BasicsCss Basics
Css Basics
 
Introduction to Html by Ankitkumar Singh
Introduction to Html by Ankitkumar SinghIntroduction to Html by Ankitkumar Singh
Introduction to Html by Ankitkumar Singh
 
Web technology lab manual
Web technology lab manualWeb technology lab manual
Web technology lab manual
 
HTML basic
HTML basicHTML basic
HTML basic
 
The three types of style sheet lesson two fourth quarter fourth year
The three types of style sheet lesson two fourth quarter fourth yearThe three types of style sheet lesson two fourth quarter fourth year
The three types of style sheet lesson two fourth quarter fourth year
 
web development basics tables part2
web development basics tables part2web development basics tables part2
web development basics tables part2
 
Html tutorials by www.dmdiploma.com
Html tutorials by www.dmdiploma.comHtml tutorials by www.dmdiploma.com
Html tutorials by www.dmdiploma.com
 
Css introduction
Css introductionCss introduction
Css introduction
 
Web Technology Lab File
Web Technology Lab FileWeb Technology Lab File
Web Technology Lab File
 
CSS
CSS CSS
CSS
 

Similar to Hypertext markup language(html)

Dhtml chapter2
Dhtml chapter2Dhtml chapter2
Introduction to Bootstrap
Introduction to BootstrapIntroduction to Bootstrap
Introduction to Bootstrap
Ron Reiter
 
Web Development Using CSS3
Web Development Using CSS3Web Development Using CSS3
Web Development Using CSS3
Anjan Mahanta
 
Web Development Using CSS3
Web Development Using CSS3Web Development Using CSS3
Web Development Using CSS3
Anjan Mahanta
 
Web Design Course: CSS lecture 1
Web Design Course: CSS lecture 1Web Design Course: CSS lecture 1
Web Design Course: CSS lecture 1
Gheyath M. Othman
 
Unit 1wt
Unit 1wtUnit 1wt
Unit 1wt
vamsitricks
 
Html html html html html html html html html
Html html html html html html html html htmlHtml html html html html html html html html
Html html html html html html html html html
riturajbhujel103
 
CSS in HTML
CSS in HTMLCSS in HTML
CSS in HTML
Vineet Kumar Saini
 
Print this
Print thisPrint this
Print this
himanii313
 
CSS.pdf
CSS.pdfCSS.pdf
CSS.pdf
SoniaJoshi25
 
Wdf 222chp iii vi
Wdf 222chp iii viWdf 222chp iii vi
Wdf 222chp iii vi
Bala Ganesh
 
css1.pptx
css1.pptxcss1.pptx
css1.pptx
Pandiya Rajan
 
Intodcution to Html
Intodcution to HtmlIntodcution to Html
Intodcution to Html
Taha Malampatti
 
Html
HtmlHtml
HTML.pptx
HTML.pptxHTML.pptx
HTML.pptx
DipaliJagtap6
 
Intro to CSS_APEC CascadingStyleSheets.pptx
Intro to CSS_APEC CascadingStyleSheets.pptxIntro to CSS_APEC CascadingStyleSheets.pptx
Intro to CSS_APEC CascadingStyleSheets.pptx
stephysnscphysio
 
BITM3730 9-12.pptx
BITM3730 9-12.pptxBITM3730 9-12.pptx
BITM3730 9-12.pptx
MattMarino13
 
HyperTextMarkupLanguage.ppt
HyperTextMarkupLanguage.pptHyperTextMarkupLanguage.ppt
HyperTextMarkupLanguage.ppt
DrShamikTiwari
 
Unitegergergegegegetgegegegegegeg-2-CSS.pptx
Unitegergergegegegetgegegegegegeg-2-CSS.pptxUnitegergergegegegetgegegegegegeg-2-CSS.pptx
Unitegergergegegegetgegegegegegeg-2-CSS.pptx
VikasTuwar1
 
Html and css
Html and cssHtml and css

Similar to Hypertext markup language(html) (20)

Dhtml chapter2
Dhtml chapter2Dhtml chapter2
Dhtml chapter2
 
Introduction to Bootstrap
Introduction to BootstrapIntroduction to Bootstrap
Introduction to Bootstrap
 
Web Development Using CSS3
Web Development Using CSS3Web Development Using CSS3
Web Development Using CSS3
 
Web Development Using CSS3
Web Development Using CSS3Web Development Using CSS3
Web Development Using CSS3
 
Web Design Course: CSS lecture 1
Web Design Course: CSS lecture 1Web Design Course: CSS lecture 1
Web Design Course: CSS lecture 1
 
Unit 1wt
Unit 1wtUnit 1wt
Unit 1wt
 
Html html html html html html html html html
Html html html html html html html html htmlHtml html html html html html html html html
Html html html html html html html html html
 
CSS in HTML
CSS in HTMLCSS in HTML
CSS in HTML
 
Print this
Print thisPrint this
Print this
 
CSS.pdf
CSS.pdfCSS.pdf
CSS.pdf
 
Wdf 222chp iii vi
Wdf 222chp iii viWdf 222chp iii vi
Wdf 222chp iii vi
 
css1.pptx
css1.pptxcss1.pptx
css1.pptx
 
Intodcution to Html
Intodcution to HtmlIntodcution to Html
Intodcution to Html
 
Html
HtmlHtml
Html
 
HTML.pptx
HTML.pptxHTML.pptx
HTML.pptx
 
Intro to CSS_APEC CascadingStyleSheets.pptx
Intro to CSS_APEC CascadingStyleSheets.pptxIntro to CSS_APEC CascadingStyleSheets.pptx
Intro to CSS_APEC CascadingStyleSheets.pptx
 
BITM3730 9-12.pptx
BITM3730 9-12.pptxBITM3730 9-12.pptx
BITM3730 9-12.pptx
 
HyperTextMarkupLanguage.ppt
HyperTextMarkupLanguage.pptHyperTextMarkupLanguage.ppt
HyperTextMarkupLanguage.ppt
 
Unitegergergegegegetgegegegegegeg-2-CSS.pptx
Unitegergergegegegetgegegegegegeg-2-CSS.pptxUnitegergergegegegetgegegegegegeg-2-CSS.pptx
Unitegergergegegegetgegegegegegeg-2-CSS.pptx
 
Html and css
Html and cssHtml and css
Html and css
 

Recently uploaded

Session 1 - Intro to Robotic Process Automation.pdf
Session 1 - Intro to Robotic Process Automation.pdfSession 1 - Intro to Robotic Process Automation.pdf
Session 1 - Intro to Robotic Process Automation.pdf
UiPathCommunity
 
Day 4 - Excel Automation and Data Manipulation
Day 4 - Excel Automation and Data ManipulationDay 4 - Excel Automation and Data Manipulation
Day 4 - Excel Automation and Data Manipulation
UiPathCommunity
 
CTO Insights: Steering a High-Stakes Database Migration
CTO Insights: Steering a High-Stakes Database MigrationCTO Insights: Steering a High-Stakes Database Migration
CTO Insights: Steering a High-Stakes Database Migration
ScyllaDB
 
Introducing BoxLang : A new JVM language for productivity and modularity!
Introducing BoxLang : A new JVM language for productivity and modularity!Introducing BoxLang : A new JVM language for productivity and modularity!
Introducing BoxLang : A new JVM language for productivity and modularity!
Ortus Solutions, Corp
 
Elasticity vs. State? Exploring Kafka Streams Cassandra State Store
Elasticity vs. State? Exploring Kafka Streams Cassandra State StoreElasticity vs. State? Exploring Kafka Streams Cassandra State Store
Elasticity vs. State? Exploring Kafka Streams Cassandra State Store
ScyllaDB
 
MongoDB to ScyllaDB: Technical Comparison and the Path to Success
MongoDB to ScyllaDB: Technical Comparison and the Path to SuccessMongoDB to ScyllaDB: Technical Comparison and the Path to Success
MongoDB to ScyllaDB: Technical Comparison and the Path to Success
ScyllaDB
 
Demystifying Knowledge Management through Storytelling
Demystifying Knowledge Management through StorytellingDemystifying Knowledge Management through Storytelling
Demystifying Knowledge Management through Storytelling
Enterprise Knowledge
 
Communications Mining Series - Zero to Hero - Session 2
Communications Mining Series - Zero to Hero - Session 2Communications Mining Series - Zero to Hero - Session 2
Communications Mining Series - Zero to Hero - Session 2
DianaGray10
 
QR Secure: A Hybrid Approach Using Machine Learning and Security Validation F...
QR Secure: A Hybrid Approach Using Machine Learning and Security Validation F...QR Secure: A Hybrid Approach Using Machine Learning and Security Validation F...
QR Secure: A Hybrid Approach Using Machine Learning and Security Validation F...
AlexanderRichford
 
Introduction to ThousandEyes AMER Webinar
Introduction  to ThousandEyes AMER WebinarIntroduction  to ThousandEyes AMER Webinar
Introduction to ThousandEyes AMER Webinar
ThousandEyes
 
Call Girls Kochi 💯Call Us 🔝 7426014248 🔝 Independent Kochi Escorts Service Av...
Call Girls Kochi 💯Call Us 🔝 7426014248 🔝 Independent Kochi Escorts Service Av...Call Girls Kochi 💯Call Us 🔝 7426014248 🔝 Independent Kochi Escorts Service Av...
Call Girls Kochi 💯Call Us 🔝 7426014248 🔝 Independent Kochi Escorts Service Av...
dipikamodels1
 
CNSCon 2024 Lightning Talk: Don’t Make Me Impersonate My Identity
CNSCon 2024 Lightning Talk: Don’t Make Me Impersonate My IdentityCNSCon 2024 Lightning Talk: Don’t Make Me Impersonate My Identity
CNSCon 2024 Lightning Talk: Don’t Make Me Impersonate My Identity
Cynthia Thomas
 
Call Girls Chandigarh🔥7023059433🔥Agency Profile Escorts in Chandigarh Availab...
Call Girls Chandigarh🔥7023059433🔥Agency Profile Escorts in Chandigarh Availab...Call Girls Chandigarh🔥7023059433🔥Agency Profile Escorts in Chandigarh Availab...
Call Girls Chandigarh🔥7023059433🔥Agency Profile Escorts in Chandigarh Availab...
manji sharman06
 
MongoDB vs ScyllaDB: Tractian’s Experience with Real-Time ML
MongoDB vs ScyllaDB: Tractian’s Experience with Real-Time MLMongoDB vs ScyllaDB: Tractian’s Experience with Real-Time ML
MongoDB vs ScyllaDB: Tractian’s Experience with Real-Time ML
ScyllaDB
 
Facilitation Skills - When to Use and Why.pptx
Facilitation Skills - When to Use and Why.pptxFacilitation Skills - When to Use and Why.pptx
Facilitation Skills - When to Use and Why.pptx
Knoldus Inc.
 
LF Energy Webinar: Carbon Data Specifications: Mechanisms to Improve Data Acc...
LF Energy Webinar: Carbon Data Specifications: Mechanisms to Improve Data Acc...LF Energy Webinar: Carbon Data Specifications: Mechanisms to Improve Data Acc...
LF Energy Webinar: Carbon Data Specifications: Mechanisms to Improve Data Acc...
DanBrown980551
 
Lee Barnes - Path to Becoming an Effective Test Automation Engineer.pdf
Lee Barnes - Path to Becoming an Effective Test Automation Engineer.pdfLee Barnes - Path to Becoming an Effective Test Automation Engineer.pdf
Lee Barnes - Path to Becoming an Effective Test Automation Engineer.pdf
leebarnesutopia
 
intra-mart Accel series 2024 Spring updates_En
intra-mart Accel series 2024 Spring updates_Enintra-mart Accel series 2024 Spring updates_En
intra-mart Accel series 2024 Spring updates_En
NTTDATA INTRAMART
 
ScyllaDB Real-Time Event Processing with CDC
ScyllaDB Real-Time Event Processing with CDCScyllaDB Real-Time Event Processing with CDC
ScyllaDB Real-Time Event Processing with CDC
ScyllaDB
 
Chapter 5 - Managing Test Activities V4.0
Chapter 5 - Managing Test Activities V4.0Chapter 5 - Managing Test Activities V4.0
Chapter 5 - Managing Test Activities V4.0
Neeraj Kumar Singh
 

Recently uploaded (20)

Session 1 - Intro to Robotic Process Automation.pdf
Session 1 - Intro to Robotic Process Automation.pdfSession 1 - Intro to Robotic Process Automation.pdf
Session 1 - Intro to Robotic Process Automation.pdf
 
Day 4 - Excel Automation and Data Manipulation
Day 4 - Excel Automation and Data ManipulationDay 4 - Excel Automation and Data Manipulation
Day 4 - Excel Automation and Data Manipulation
 
CTO Insights: Steering a High-Stakes Database Migration
CTO Insights: Steering a High-Stakes Database MigrationCTO Insights: Steering a High-Stakes Database Migration
CTO Insights: Steering a High-Stakes Database Migration
 
Introducing BoxLang : A new JVM language for productivity and modularity!
Introducing BoxLang : A new JVM language for productivity and modularity!Introducing BoxLang : A new JVM language for productivity and modularity!
Introducing BoxLang : A new JVM language for productivity and modularity!
 
Elasticity vs. State? Exploring Kafka Streams Cassandra State Store
Elasticity vs. State? Exploring Kafka Streams Cassandra State StoreElasticity vs. State? Exploring Kafka Streams Cassandra State Store
Elasticity vs. State? Exploring Kafka Streams Cassandra State Store
 
MongoDB to ScyllaDB: Technical Comparison and the Path to Success
MongoDB to ScyllaDB: Technical Comparison and the Path to SuccessMongoDB to ScyllaDB: Technical Comparison and the Path to Success
MongoDB to ScyllaDB: Technical Comparison and the Path to Success
 
Demystifying Knowledge Management through Storytelling
Demystifying Knowledge Management through StorytellingDemystifying Knowledge Management through Storytelling
Demystifying Knowledge Management through Storytelling
 
Communications Mining Series - Zero to Hero - Session 2
Communications Mining Series - Zero to Hero - Session 2Communications Mining Series - Zero to Hero - Session 2
Communications Mining Series - Zero to Hero - Session 2
 
QR Secure: A Hybrid Approach Using Machine Learning and Security Validation F...
QR Secure: A Hybrid Approach Using Machine Learning and Security Validation F...QR Secure: A Hybrid Approach Using Machine Learning and Security Validation F...
QR Secure: A Hybrid Approach Using Machine Learning and Security Validation F...
 
Introduction to ThousandEyes AMER Webinar
Introduction  to ThousandEyes AMER WebinarIntroduction  to ThousandEyes AMER Webinar
Introduction to ThousandEyes AMER Webinar
 
Call Girls Kochi 💯Call Us 🔝 7426014248 🔝 Independent Kochi Escorts Service Av...
Call Girls Kochi 💯Call Us 🔝 7426014248 🔝 Independent Kochi Escorts Service Av...Call Girls Kochi 💯Call Us 🔝 7426014248 🔝 Independent Kochi Escorts Service Av...
Call Girls Kochi 💯Call Us 🔝 7426014248 🔝 Independent Kochi Escorts Service Av...
 
CNSCon 2024 Lightning Talk: Don’t Make Me Impersonate My Identity
CNSCon 2024 Lightning Talk: Don’t Make Me Impersonate My IdentityCNSCon 2024 Lightning Talk: Don’t Make Me Impersonate My Identity
CNSCon 2024 Lightning Talk: Don’t Make Me Impersonate My Identity
 
Call Girls Chandigarh🔥7023059433🔥Agency Profile Escorts in Chandigarh Availab...
Call Girls Chandigarh🔥7023059433🔥Agency Profile Escorts in Chandigarh Availab...Call Girls Chandigarh🔥7023059433🔥Agency Profile Escorts in Chandigarh Availab...
Call Girls Chandigarh🔥7023059433🔥Agency Profile Escorts in Chandigarh Availab...
 
MongoDB vs ScyllaDB: Tractian’s Experience with Real-Time ML
MongoDB vs ScyllaDB: Tractian’s Experience with Real-Time MLMongoDB vs ScyllaDB: Tractian’s Experience with Real-Time ML
MongoDB vs ScyllaDB: Tractian’s Experience with Real-Time ML
 
Facilitation Skills - When to Use and Why.pptx
Facilitation Skills - When to Use and Why.pptxFacilitation Skills - When to Use and Why.pptx
Facilitation Skills - When to Use and Why.pptx
 
LF Energy Webinar: Carbon Data Specifications: Mechanisms to Improve Data Acc...
LF Energy Webinar: Carbon Data Specifications: Mechanisms to Improve Data Acc...LF Energy Webinar: Carbon Data Specifications: Mechanisms to Improve Data Acc...
LF Energy Webinar: Carbon Data Specifications: Mechanisms to Improve Data Acc...
 
Lee Barnes - Path to Becoming an Effective Test Automation Engineer.pdf
Lee Barnes - Path to Becoming an Effective Test Automation Engineer.pdfLee Barnes - Path to Becoming an Effective Test Automation Engineer.pdf
Lee Barnes - Path to Becoming an Effective Test Automation Engineer.pdf
 
intra-mart Accel series 2024 Spring updates_En
intra-mart Accel series 2024 Spring updates_Enintra-mart Accel series 2024 Spring updates_En
intra-mart Accel series 2024 Spring updates_En
 
ScyllaDB Real-Time Event Processing with CDC
ScyllaDB Real-Time Event Processing with CDCScyllaDB Real-Time Event Processing with CDC
ScyllaDB Real-Time Event Processing with CDC
 
Chapter 5 - Managing Test Activities V4.0
Chapter 5 - Managing Test Activities V4.0Chapter 5 - Managing Test Activities V4.0
Chapter 5 - Managing Test Activities V4.0
 

Hypertext markup language(html)

  • 1.
  • 2. HTML defines the structure and layout of a Web document by using a variety of tags and attributes. ◦ HTML Define  Acronym for Hypertext Markup Language  A document use for creating web pages. ◦ Parts of the HTML Document  Head section <head><title></title></head>  Body section <body></body> 2
  • 3. <html> <head> <title>…</title> </head> <body> Page contents…. </body> </html> 3
  • 4. ◦ a software used for authoring web documents. A simple text editor like Notepad is sufficient for creating web pages, but there are advanced HTML editors that can be used to speed-up the development process. ◦ Some of these are:  Microsoft FrontPage  Dreamweaver 4
  • 5. Paragraph - <p></p>  List – ordered list<ol>,unordered list<ul>  Image - <img>  Link - <a>  Heading – <H1> to <H6>  Table - <table>  Form 5
  • 6. <p> This is the first paragraph.</p> <p>This is the second paragraph.</p> <p>This is the third paragraph.</p> This is the first paragraph. This is the second paragraph. This is the third paragraph. 6
  • 7. align  id  Example: ◦ <p align=center>…</p> ◦ <p id=p1>…</p> 7
  • 9. Type ◦ 1 ◦ I ◦ A ◦ a 9
  • 11. Type ◦ Disc ◦ Square ◦ circle 11
  • 12. Type  start  Example: ◦ <ol type=1 start=5>…</ol> ◦ <ul type=disc</ul> ◦ Output 12
  • 13. Image tag attributes ◦ src = source image ◦ width = image width ◦ Height = image height Sample <img src=Penguins.jpg width=100 height=100> 13
  • 14. Anchor tag attributes: ◦ href=The href attribute specifies the destination of a link ◦ target= The target attribute specifies where to open the linked document Sample <a href=img.html>Penguin</a> 14
  • 15. 1. Create one paragraph (Brief history of PUP) Save it as history.html 2. Create list for the following: 1. Colleges (Ordered list) 2. Courses (Unordered list) Save as aboutus.html 3. Add the logo of PUP at the top of the PUP history paragraph. 4. Create link to history.html and aboutus.html Save as index.html 15
  • 16. Sample Heading tag <h1>This is heading h1.</h1> <h2>This is heading h2.</h2> <h3>This is heading h3.</h3> <h4>This is heading h4.</h4> <h5>This is heading h5.</h5> <h6>This is heading h6.</h6> 16
  • 17. 17
  • 18. Sample Table tag <table border=1 width=50%> <tr><th>Rank</th><th>Name</th><th>Div ision/Office</th></tr> <tr><td>PCI</td><td>Amir Hassan Ali</td><td>Inspectorate Office</td></tr> <tr><td>PCI</td><td>Victorio Dela Peña</td><td>Data Warehouse Provision Office</td></tr> </table> 18
  • 19. 19
  • 20. Form elements ◦ Input tag ◦ Select tag  Input tag types ◦ Text ◦ Radio ◦ Checkbox ◦ Submit ◦ Button  Select tag 20
  • 21. <form> Rank: <select><option value=PO1>PO1</option><option value=PO2>PO2</option><option value=PO3>PO3</option> </select><br> Name:<input type=text name=pname maxlength=50><br> Civil Status:<input type=radio value=Single >Single<input type=radio value=Married >Married<input type=radio value=Widow >Widow<br> Unit Assignment:<input type=text name=unit><br> <input type=submit value=Submit> </form> 21
  • 22. 22
  • 23. Create form with the following fields ◦ Employee Number ◦ Lastname ◦ Firstname ◦ Middlename ◦ Position  Arrange the layout of the form using Table tag  Output 23
  • 24. Cascading Style Sheets (CSS) is a simple mechanism for adding style (e.g., fonts, colors, spacing) to Web documents  A style is used to predefine the format for any HTML tag in the document.  CSS is defined in <style></style> tag and usually place inside <head>…</head>  Three types: External, Internal and Inline 24
  • 25. External CSS – a style sheet outside HTML document and can be embedded or link to HTML document by using <link> tag. ◦ It is ideal when the style is applied to many pages.  Internal CSS – a style sheet place inside the HTML document. ◦ The style is used to a single page. ◦ Format: <head><style>…</style></head>  Inline CSS - An inline style can be used if a unique style is to be applied to one single occurrence of an element. ◦ <p style="color:blue;margin-left:20px;">This is a paragraph.</p> 25
  • 26. <head> <style> p {align:center: color:gray; font-family:Arial; font-size:12px;} table,td,th{ border:solid ; border-color:gray; font-family:Arial; font-size:14px; color:#666666; padding-left:15px; padding-right:15px; }</style> </head> 26
  • 27. ITMS Training and Research Division 27
  • 28. Create the CSS for the following tag: ◦ Paragraph  Font-family: arial  Color: #666666  fo ◦ Table  Border: solid  Border-color:#cccccc  Font-family:arial  Color:#666666 ◦ ol and ul  Font-family:arial  Color:#333333  Open the webpages you created previously and add the following to the head section: <head> <link href="design.css" rel="stylesheet" type="text/css"></head> 28
  • 29. Use <table> tag ◦ Create table with two columns and four rows 29
  • 30. <h3><center>Template using table tag</center></h3> <table width="347" border="1" align="center"> <tr> <td colspan="2"><div align="center“ >Header/Banner</div></td> </tr> <tr> <td colspan="2"><div align="center">Navigation/Menu</div></td> </tr> <tr> <td width="55" height="89"><p align="center">ADS</td> <td width="282">ARTICLES</td> </tr> <tr> <td colspan="2"><div align="center">FOOTER</div></td> </tr> </table> ITMS Training and Research Division 30
  • 31. <div class=wrapper width=800px> <div id=header><img src=header.jpg></div> <div id=nav>Home<br>About Us<br>Contact Us</div> <div id=content>Contents here</div> <div id=footer>Copyright 2011 www.itms.pnp.gov.ph</div> </div> ITMS Training and Research Division 31
  • 32. Create your desired template, choose from div or table tag.  Create also the CSS for this template and add it to the head section. ITMS Training and Research Division 32
  • 33. ITMS Training and Research Division 33
  • 34. ITMS Training and Research Division 34
  翻译: