SlideShare une entreprise Scribd logo
1  sur  4
Homework, 11aIT1, ICT homework, HTML Coding.

HTML coding work:

Heading - <h1>Heading</h1> <h2>Heading</h2> ETC ETC.

Paragraphs - <p>paragraph</p>

HTML Links <href= "link">Wordsonwhatthelinkis</a> (<a href="url">Link text</a>)
opening hyperlink new tab - (<a href=" Link " target="_blank">Visit
W3Schools!</a>)

Example -

<html>

<body>
<p>This is my first paragraph.</p>
</body>

</html>



Body - The <body> element defines the body of the HTML document.
The element has a start tag <body> and an end tag </body>.

HTML Lines - The <hr /> tag creates a horizontal line in an HTML page.

HTML Comments - <!-- This is a comment -->

HTML Line Breaks - <p>This is<br />a para<br />graph with line breaks</p>

(<br />)

HTML text format - <b> - Bold text <i> Italic Text

<strong> or <em> means that you want the text to be rendered in a way that the user
understands as "important".




HTML Style Example - Font, Color and Size
<html>

<body>
<h1 style="font-family:verdana;">A heading</h1>
<p style="font-family:arial;color:red;font-size:20px;">A paragraph.</p>
</body>

</html>
Placing text in the center -

<html>

<body>

<center><h1>This is a test</h1></center>

</body>

</html>



HTML table -

<table border="1">
<tr>
<th>Header 1</th>
<th>Header 2</th>
</tr>
<tr>
<td>row 1, cell 1</td>
<td>row 1, cell 2</td>
</tr>
<tr>
<td>row 2, cell 1</td>
<td>row 2, cell 2</td>
</tr>
</table>



HTML Unordered Lists:

An unordered list starts with the <ul> tag.

<ul>
<li>Coffee</li>
<li>Milk</li>
</ul>

Will come out like this :

         Coffee                               <ol>
         Milk                                 <li>Coffee</li>
                                              <li>Milk</li>
HTML Ordered lists:                           </ol>

                                              Will come as this:

                                                 1. Coffee
                                                 2. Milk
An ordered list starts with the <ol> tag. ----->




HTML Defenition Lists
                                                   This is how it will look like:
The <dl> tag defines a definition list.
                                                   Coffee
                                                            - black hot drink
<dl>
                                                   Milk
<dt>Coffee</dt>                                             - white cold drink
<dd>- black hot drink</dd>
<dt>Milk</dt>
<dd>- white cold drink</dd>
</dl>




Radio Buttons -

<input type="radio" /> defines a radio button.

<form>
<input type="radio" name="sex" value="male" /> Male<br />
<input type="radio" name="sex" value="female" /> Female
</form>

This is how it would look like -


     Male

     Female




Checkbox-

<input type="checkbox" /> defines a checkbox



<form>
<input type="checkbox" name="vehicle" value="Bike" /> I have a bike<br />
<input type="checkbox" name="vehicle" value="Car" /> I have a car
</form>

This is how it would look like -


     I have a bike

     I have a car
Submit Button

<input type="submit" /> defines a submit button.

<form name="input" action="html_form_action.asp" method="get">
Username: <input type="text" name="user" />
<input type="submit" value="Submit" />
</form>

This is how it would look like -

                               Submit
Username:

Contenu connexe

Tendances

Tendances (9)

ACTC 2013 Website Building Notes
ACTC 2013 Website Building NotesACTC 2013 Website Building Notes
ACTC 2013 Website Building Notes
 
Html 1
Html 1Html 1
Html 1
 
Introduction to HTML
Introduction to HTMLIntroduction to HTML
Introduction to HTML
 
Html
HtmlHtml
Html
 
Coding 4 Communicators
Coding 4 CommunicatorsCoding 4 Communicators
Coding 4 Communicators
 
Web Development
Web DevelopmentWeb Development
Web Development
 
Html ppt by Fathima faculty Hasanath college for women bangalore
Html ppt by Fathima faculty Hasanath college for women bangaloreHtml ppt by Fathima faculty Hasanath college for women bangalore
Html ppt by Fathima faculty Hasanath college for women bangalore
 
programming color codes for all programmers
programming color codes for all programmersprogramming color codes for all programmers
programming color codes for all programmers
 
Teaching Web Frontend Technologies To A Toddler
Teaching Web Frontend Technologies To A ToddlerTeaching Web Frontend Technologies To A Toddler
Teaching Web Frontend Technologies To A Toddler
 

Similaire à Html coding work

計算機概論20161205
計算機概論20161205計算機概論20161205
計算機概論20161205
志宇 許
 
Basics tags for HTML
Basics tags for HTMLBasics tags for HTML
Basics tags for HTML
vidyamittal
 
LIS3353 SP12 Week 4
LIS3353 SP12 Week 4LIS3353 SP12 Week 4
LIS3353 SP12 Week 4
Amanda Case
 

Similaire à Html coding work (20)

Html training slide
Html training slideHtml training slide
Html training slide
 
Intodcution to Html
Intodcution to HtmlIntodcution to Html
Intodcution to Html
 
List and Links.pptx
List and Links.pptxList and Links.pptx
List and Links.pptx
 
計算機概論20161205
計算機概論20161205計算機概論20161205
計算機概論20161205
 
Unit 1wt
Unit 1wtUnit 1wt
Unit 1wt
 
Unit 1wt
Unit 1wtUnit 1wt
Unit 1wt
 
Web pract
Web practWeb pract
Web pract
 
HyperTextMarkupLanguage.ppt
HyperTextMarkupLanguage.pptHyperTextMarkupLanguage.ppt
HyperTextMarkupLanguage.ppt
 
Html
HtmlHtml
Html
 
Html ,css,xml
Html ,css,xmlHtml ,css,xml
Html ,css,xml
 
Basics tags for HTML
Basics tags for HTMLBasics tags for HTML
Basics tags for HTML
 
HTML
HTMLHTML
HTML
 
Html introduction by ikram niaz
Html introduction by ikram niazHtml introduction by ikram niaz
Html introduction by ikram niaz
 
Introduction html
Introduction htmlIntroduction html
Introduction html
 
If you know nothing about HTML, this is where you can start !!
If you know nothing about HTML, this is where you can start !!If you know nothing about HTML, this is where you can start !!
If you know nothing about HTML, this is where you can start !!
 
Introduction to Html
Introduction to HtmlIntroduction to Html
Introduction to Html
 
LIS3353 SP12 Week 4
LIS3353 SP12 Week 4LIS3353 SP12 Week 4
LIS3353 SP12 Week 4
 
Full Stack Class in Marathahalli| AchieversIT
Full Stack Class in Marathahalli| AchieversITFull Stack Class in Marathahalli| AchieversIT
Full Stack Class in Marathahalli| AchieversIT
 
HTML Notes For demo_classes.pdf
HTML Notes For demo_classes.pdfHTML Notes For demo_classes.pdf
HTML Notes For demo_classes.pdf
 
HTML.pdf
HTML.pdfHTML.pdf
HTML.pdf
 

Dernier

+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
?#DUbAI#??##{{(☎️+971_581248768%)**%*]'#abortion pills for sale in dubai@
 

Dernier (20)

How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
 
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
 
Tech Trends Report 2024 Future Today Institute.pdf
Tech Trends Report 2024 Future Today Institute.pdfTech Trends Report 2024 Future Today Institute.pdf
Tech Trends Report 2024 Future Today Institute.pdf
 
Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024
 
Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century education
 
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
 
Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed texts
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day Presentation
 
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivity
 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
 
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, AdobeApidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
 
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUnderstanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
 
GenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdfGenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdf
 
Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a Fresher
 
What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?
 
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
 

Html coding work

  • 1. Homework, 11aIT1, ICT homework, HTML Coding. HTML coding work: Heading - <h1>Heading</h1> <h2>Heading</h2> ETC ETC. Paragraphs - <p>paragraph</p> HTML Links <href= "link">Wordsonwhatthelinkis</a> (<a href="url">Link text</a>) opening hyperlink new tab - (<a href=" Link " target="_blank">Visit W3Schools!</a>) Example - <html> <body> <p>This is my first paragraph.</p> </body> </html> Body - The <body> element defines the body of the HTML document. The element has a start tag <body> and an end tag </body>. HTML Lines - The <hr /> tag creates a horizontal line in an HTML page. HTML Comments - <!-- This is a comment --> HTML Line Breaks - <p>This is<br />a para<br />graph with line breaks</p> (<br />) HTML text format - <b> - Bold text <i> Italic Text <strong> or <em> means that you want the text to be rendered in a way that the user understands as "important". HTML Style Example - Font, Color and Size <html> <body> <h1 style="font-family:verdana;">A heading</h1> <p style="font-family:arial;color:red;font-size:20px;">A paragraph.</p> </body> </html>
  • 2. Placing text in the center - <html> <body> <center><h1>This is a test</h1></center> </body> </html> HTML table - <table border="1"> <tr> <th>Header 1</th> <th>Header 2</th> </tr> <tr> <td>row 1, cell 1</td> <td>row 1, cell 2</td> </tr> <tr> <td>row 2, cell 1</td> <td>row 2, cell 2</td> </tr> </table> HTML Unordered Lists: An unordered list starts with the <ul> tag. <ul> <li>Coffee</li> <li>Milk</li> </ul> Will come out like this : Coffee <ol> Milk <li>Coffee</li> <li>Milk</li> HTML Ordered lists: </ol> Will come as this: 1. Coffee 2. Milk
  • 3. An ordered list starts with the <ol> tag. -----> HTML Defenition Lists This is how it will look like: The <dl> tag defines a definition list. Coffee - black hot drink <dl> Milk <dt>Coffee</dt> - white cold drink <dd>- black hot drink</dd> <dt>Milk</dt> <dd>- white cold drink</dd> </dl> Radio Buttons - <input type="radio" /> defines a radio button. <form> <input type="radio" name="sex" value="male" /> Male<br /> <input type="radio" name="sex" value="female" /> Female </form> This is how it would look like - Male Female Checkbox- <input type="checkbox" /> defines a checkbox <form> <input type="checkbox" name="vehicle" value="Bike" /> I have a bike<br /> <input type="checkbox" name="vehicle" value="Car" /> I have a car </form> This is how it would look like - I have a bike I have a car
  • 4. Submit Button <input type="submit" /> defines a submit button. <form name="input" action="html_form_action.asp" method="get"> Username: <input type="text" name="user" /> <input type="submit" value="Submit" /> </form> This is how it would look like - Submit Username: