SlideShare uma empresa Scribd logo
1 de 32
Design your first
        Website



                                                                      HTML
                                                                     & CSS
Bunty Jain, IT Training, SAP, seekbuntyjain@gmail.com Delhi India.
Website Designing


         An Overview



          Bunty Jain IT
          Training, SAP, seekbuntyjain@g
          mail.com Delhi India.
Web Components

 Clientsand Servers
 Internet Service Providers
 Web Site Hosting Services
 Domains Names



                           Bunty Jain IT Training, SAP,
                           seekbuntyjain@gmail.com Delhi
                           India.
With HTML you can create
       your own Web site
   HTML is easy to learn - You will
                          enjoy it.


                       Bunty Jain IT
                       Training, SAP, seekbuntyjain@g
                       mail.com Delhi India.
HTML Tags

HTML is a language for describing web pages.

HTML stands for Hyper Text Markup Language

A markup language is a set of markup tags

HTML uses markup tags to describe web pages


                                Bunty Jain IT Training, SAP,
                                seekbuntyjain@gmail.com Delhi
                                India.
HTML Tags

HTML markup tags are usually called HTML tags

HTML tags are keywords surrounded by angle
brackets like <html>

HTML tags normally come in pairs like <b> and
</b>

The first tag in a pair is the start tag, the second
tag is the end tag
                                      Bunty Jain IT Training, SAP,
                                      seekbuntyjain@gmail.com Delhi
                                      India.
HTML Format

<html>
    <body>

   <h1>My First Heading</h1>

   <p>My first paragraph.</p>

    </body>
</html>
                          Bunty Jain IT Training, SAP,
                          seekbuntyjain@gmail.com Delhi
                          India.
Editing HTML
  HTML can be written and edited using
many different editors like Dreamweaver
                       and Visual Studio.


  However, in this tutorial we use a plain
 text editor (like Notepad) to edit HTML.

                            Bunty Jain IT
                            Training, SAP, seekbuntyjain@g
                            mail.com Delhi India.
.HTM or .HTML File
              Extension?
   When you save an HTML file, you
can use either the .htm or the .html
           file extension. There is no
  difference, it is entirely up to you.


                          Bunty Jain IT Training, SAP,
                          seekbuntyjain@gmail.com Delhi
                          India.
HTML Headings
HTML headings are defined with the
             <h1> to <h6> tags.

                          Example
      <h1>This is a heading</h1>
      <h2>This is a heading</h2>
      <h3>This is a heading</h3>
                       Bunty Jain IT Training, SAP,
                       seekbuntyjain@gmail.com Delhi
                       India.
HTML Paragraphs
Paragraphs are defined with the <p> tag.

                                      Example

          <p>This is a paragraph</p>
     <p>This is another paragraph</p>



                         Bunty Jain IT Training, SAP,
                         seekbuntyjain@gmail.com Delhi
                         India.
HTML Links

HTML links are defined with the <a> tag.

                                 Example
                                      <a
href="http://www.subjectelement.com">
                      This is a link</a>
                           Bunty Jain IT
                           Training, SAP, seekbuntyjain@g
                           mail.com Delhi India.
HTML Images
HTML images are defined with the
                     <img> tag.

                              Example

  <img src=“subjectelement.jpg"
   width="104" height="142" />
                   Bunty Jain IT Training, SAP,
                   seekbuntyjain@gmail.com Delhi
                   India.
Nested HTML Elements
                                    <html>

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

                                  </html>

                        Bunty Jain IT
                        Training, SAP, seekbuntyjain@g
                        mail.com Delhi India.
The <body> element
                                    <body>
        <p>This is my first paragraph.</p>
                                   </body>


The <body> element defines the body of the
                         HTML document.


                            Bunty Jain IT
                            Training, SAP, seekbuntyjain@g
                            mail.com Delhi India.
The <html> element:
                                              <html>

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

                                            </html>

The <html> element defines the whole HTML
                                     document.
                            Bunty Jain IT
                               Training, SAP, seekbuntyjain@g
                               mail.com Delhi India.
Don't Forget the End
                      Tag
Some HTML elements might display correctly even if you
                                  forget the end tag:

                                <p>This is a paragraph


The example above works in most browsers, because the
                     closing tag is considered optional.

                                     Never rely on this.

                                      Bunty Jain IT Training, SAP,
                                      seekbuntyjain@gmail.com Delhi
                                      India.
HTML Tip: Use
     Lowercase Tags
HTML tags are not case sensitive:

   <P> means the same as <p>




                    Bunty Jain IT
                    Training, SAP, seekbuntyjain@g
                    mail.com Delhi India.
HTML Attributes
      Attributes provide additional information about an
                                                 element

Attributes come in name/value pairs like: name="value“


                                            Example
  <a href="http://www.subjectselement.com">This is a
                                           link</a>



                                      Bunty Jain IT Training, SAP,
                                      seekbuntyjain@gmail.com Delhi
                                      India.
HTML Horizontal Lines
The <hr /> tag creates a horizontal line in an
                                 HTML page.


                <p>This is a paragraph</p>
                                     <hr />
                <p>This is a paragraph</p>
                                     <hr />
                <p>This is a paragraph</p>
                               Bunty Jain IT Training, SAP,
                               seekbuntyjain@gmail.com Delhi
                               India.
HTML Comments
Comments can be inserted into the HTML code
to make it more readable and understandable.

              Comments are written like this:


                  <!-- This is a comment -->



                              Bunty Jain IT Training, SAP,
                              seekbuntyjain@gmail.com Delhi
                              India.
HTML Tip - How to View
          HTML Source
                Have you ever seen a
   Web           page and wondered
         "Hey! How did they do that?"

             To find out, right-click in
 the           page and select "View
                          Source" (IE)

                       Bunty Jain IT
                       Training, SAP, seekbuntyjain@g
                       mail.com Delhi India.
HTML Line Breaks
Use the <br /> tag if you want a line break (a
  new line) without starting a new paragraph:

                                            Example

<p>This is<br />a para<br />graph with line
                               breaks</p>



                               Bunty Jain IT Training, SAP,
                               seekbuntyjain@gmail.com Delhi
                               India.
HTML Text Formatting



            This text is bold

           This text is big
             This text is italic
               Bunty Jain IT Training, SAP,
               seekbuntyjain@gmail.com Delhi
               India.
HTML Formatting Tags

   HTML uses tags like <b> and <i> for
formatting output, like bold or italic text.




                              Bunty Jain IT Training, SAP,
                              seekbuntyjain@gmail.com Delhi
                              India.
The HTML <font> Tag
                                                     <p>
            <font size="5" face="arial" color="red">
This paragraph is in Arial, size 5, and in red text color.
                                                 </font>
                                                    </p>

                                                     <p>
        <font size="3" face="verdana" color="blue">
This paragraph is in Arial, size 5, and in red text color.
                                                 </font>
                                                    </p>




                                     Bunty Jain IT
                                     Training, SAP, seekbuntyjain@g
                                     mail.com Delhi India.
HTML Tables
    <table border="1">
                                  <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>
        Bunty Jain IT Training, SAP,
             seekbuntyjain@gmail.com Delhi
             India.
HTML Table Headers
            <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>
             Bunty Jain IT
             Training, SAP, seekbuntyjain@g
             mail.com Delhi India.
HTML Lists
          <ul>
<li>Coffee</li>
  <li>Milk</li>
         </ul>
          <ol>
<li>Coffee</li>
  <li>Milk</li>
         </ol>
      Bunty Jain IT Training, SAP,
      seekbuntyjain@gmail.com Delhi
      India.
HTML Layouts - Using
              Tables

The simplest way of creating layouts is
       by using the HTML <table> tag.



                          Bunty Jain IT Training, SAP,
                          seekbuntyjain@gmail.com Delhi
                          India.
The HTML head
                     Element
The following tags can be added to the head
                                     section

                                    <title>,
                                   <base>,
                                    <link>,
                                   <meta>,
                                  <script>,
                                and <style>
                              Bunty Jain IT
                              Training, SAP, seekbuntyjain@g
                              mail.com Delhi India.
We can move to learn
                 CSS


                Thanks

                           Q&A
             Bunty Jain IT Training, SAP,
             seekbuntyjain@gmail.com Delhi
             India.

Mais conteúdo relacionado

Mais procurados

Meta tags
Meta tagsMeta tags
Meta tags
hapy
 

Mais procurados (20)

HTML CSS Basics
HTML CSS BasicsHTML CSS Basics
HTML CSS Basics
 
Introduction of Html/css/js
Introduction of Html/css/jsIntroduction of Html/css/js
Introduction of Html/css/js
 
Html coding
Html codingHtml coding
Html coding
 
Web Development basics with WordPress
Web Development basics with WordPressWeb Development basics with WordPress
Web Development basics with WordPress
 
Learning Html
Learning HtmlLearning Html
Learning Html
 
Front-end development introduction (HTML, CSS). Part 1
Front-end development introduction (HTML, CSS). Part 1Front-end development introduction (HTML, CSS). Part 1
Front-end development introduction (HTML, CSS). Part 1
 
Html
HtmlHtml
Html
 
Basic HTML
Basic HTMLBasic HTML
Basic HTML
 
Html5 tutorial for beginners
Html5 tutorial for beginnersHtml5 tutorial for beginners
Html5 tutorial for beginners
 
Meta tags
Meta tagsMeta tags
Meta tags
 
Html basic
Html basicHtml basic
Html basic
 
Html audio video
Html audio videoHtml audio video
Html audio video
 
Html
HtmlHtml
Html
 
Html ppt
Html pptHtml ppt
Html ppt
 
CSS
CSSCSS
CSS
 
jQuery
jQueryjQuery
jQuery
 
Introduction to CSS
Introduction to CSSIntroduction to CSS
Introduction to CSS
 
HTML
HTMLHTML
HTML
 
An Overview of HTML, CSS & Java Script
An Overview of HTML, CSS & Java ScriptAn Overview of HTML, CSS & Java Script
An Overview of HTML, CSS & Java Script
 
Learn html Basics
Learn html BasicsLearn html Basics
Learn html Basics
 

Destaque

Destaque (8)

HTML & CSS Training Institute in Ambala ! Batra Computer Centre
HTML & CSS Training Institute in Ambala ! Batra Computer CentreHTML & CSS Training Institute in Ambala ! Batra Computer Centre
HTML & CSS Training Institute in Ambala ! Batra Computer Centre
 
What Makes Great Infographics
What Makes Great InfographicsWhat Makes Great Infographics
What Makes Great Infographics
 
Masters of SlideShare
Masters of SlideShareMasters of SlideShare
Masters of SlideShare
 
STOP! VIEW THIS! 10-Step Checklist When Uploading to Slideshare
STOP! VIEW THIS! 10-Step Checklist When Uploading to SlideshareSTOP! VIEW THIS! 10-Step Checklist When Uploading to Slideshare
STOP! VIEW THIS! 10-Step Checklist When Uploading to Slideshare
 
You Suck At PowerPoint!
You Suck At PowerPoint!You Suck At PowerPoint!
You Suck At PowerPoint!
 
10 Ways to Win at SlideShare SEO & Presentation Optimization
10 Ways to Win at SlideShare SEO & Presentation Optimization10 Ways to Win at SlideShare SEO & Presentation Optimization
10 Ways to Win at SlideShare SEO & Presentation Optimization
 
How To Get More From SlideShare - Super-Simple Tips For Content Marketing
How To Get More From SlideShare - Super-Simple Tips For Content MarketingHow To Get More From SlideShare - Super-Simple Tips For Content Marketing
How To Get More From SlideShare - Super-Simple Tips For Content Marketing
 
How to Make Awesome SlideShares: Tips & Tricks
How to Make Awesome SlideShares: Tips & TricksHow to Make Awesome SlideShares: Tips & Tricks
How to Make Awesome SlideShares: Tips & Tricks
 

Semelhante a Design your first website using HTML

3 v html_next_energy_03.27.2014_v1.0
3 v html_next_energy_03.27.2014_v1.03 v html_next_energy_03.27.2014_v1.0
3 v html_next_energy_03.27.2014_v1.0
3V Business Solutions
 

Semelhante a Design your first website using HTML (20)

TOPIC 2 - HTML BASICS.pptx
TOPIC 2 - HTML BASICS.pptxTOPIC 2 - HTML BASICS.pptx
TOPIC 2 - HTML BASICS.pptx
 
HTML5 - Web Development Fundaments Part 1 - DeepDive Learning Academy
HTML5 - Web Development Fundaments Part 1 - DeepDive Learning AcademyHTML5 - Web Development Fundaments Part 1 - DeepDive Learning Academy
HTML5 - Web Development Fundaments Part 1 - DeepDive Learning Academy
 
Html
HtmlHtml
Html
 
Basics of html for web development by software outsourcing company india
Basics of html for web development   by software outsourcing company indiaBasics of html for web development   by software outsourcing company india
Basics of html for web development by software outsourcing company india
 
Introduction to HTML
Introduction to HTML Introduction to HTML
Introduction to HTML
 
Basic Html Notes
Basic Html NotesBasic Html Notes
Basic Html Notes
 
HTML Tutorial
HTML TutorialHTML Tutorial
HTML Tutorial
 
3 v html_next_energy_03.27.2014_v1.0
3 v html_next_energy_03.27.2014_v1.03 v html_next_energy_03.27.2014_v1.0
3 v html_next_energy_03.27.2014_v1.0
 
On-Page SEO
On-Page SEOOn-Page SEO
On-Page SEO
 
html.pptx
html.pptxhtml.pptx
html.pptx
 
HTML Basics for SEO
HTML Basics for SEOHTML Basics for SEO
HTML Basics for SEO
 
Html
HtmlHtml
Html
 
HTML
HTMLHTML
HTML
 
HTML Repurposing Content.pptx
HTML Repurposing Content.pptxHTML Repurposing Content.pptx
HTML Repurposing Content.pptx
 
Search engine optimization ppt
Search engine optimization pptSearch engine optimization ppt
Search engine optimization ppt
 
Html Workshop
Html WorkshopHtml Workshop
Html Workshop
 
html complete notes
html complete noteshtml complete notes
html complete notes
 
html compete notes basic to advanced
html compete notes basic to advancedhtml compete notes basic to advanced
html compete notes basic to advanced
 
Html5
Html5Html5
Html5
 
Html ppt
Html pptHtml ppt
Html ppt
 

Último

Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Victor Rentea
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Safe Software
 
Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native Applications
WSO2
 

Último (20)

Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
 
CNIC Information System with Pakdata Cf In Pakistan
CNIC Information System with Pakdata Cf In PakistanCNIC Information System with Pakdata Cf In Pakistan
CNIC Information System with Pakdata Cf In Pakistan
 
Six Myths about Ontologies: The Basics of Formal Ontology
Six Myths about Ontologies: The Basics of Formal OntologySix Myths about Ontologies: The Basics of Formal Ontology
Six Myths about Ontologies: The Basics of Formal Ontology
 
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
 
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
 
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWEREMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
 
Platformless Horizons for Digital Adaptability
Platformless Horizons for Digital AdaptabilityPlatformless Horizons for Digital Adaptability
Platformless Horizons for Digital Adaptability
 
AWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of Terraform
 
Exploring Multimodal Embeddings with Milvus
Exploring Multimodal Embeddings with MilvusExploring Multimodal Embeddings with Milvus
Exploring Multimodal Embeddings with Milvus
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
 
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdfRising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
 
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
 
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
 
FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
 
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
 
WSO2's API Vision: Unifying Control, Empowering Developers
WSO2's API Vision: Unifying Control, Empowering DevelopersWSO2's API Vision: Unifying Control, Empowering Developers
WSO2's API Vision: Unifying Control, Empowering Developers
 
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...
 
Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native Applications
 
MS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectorsMS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectors
 

Design your first website using HTML

  • 1. Design your first Website HTML & CSS Bunty Jain, IT Training, SAP, seekbuntyjain@gmail.com Delhi India.
  • 2. Website Designing An Overview Bunty Jain IT Training, SAP, seekbuntyjain@g mail.com Delhi India.
  • 3. Web Components  Clientsand Servers  Internet Service Providers  Web Site Hosting Services  Domains Names Bunty Jain IT Training, SAP, seekbuntyjain@gmail.com Delhi India.
  • 4. With HTML you can create your own Web site HTML is easy to learn - You will enjoy it. Bunty Jain IT Training, SAP, seekbuntyjain@g mail.com Delhi India.
  • 5. HTML Tags HTML is a language for describing web pages. HTML stands for Hyper Text Markup Language A markup language is a set of markup tags HTML uses markup tags to describe web pages Bunty Jain IT Training, SAP, seekbuntyjain@gmail.com Delhi India.
  • 6. HTML Tags HTML markup tags are usually called HTML tags HTML tags are keywords surrounded by angle brackets like <html> HTML tags normally come in pairs like <b> and </b> The first tag in a pair is the start tag, the second tag is the end tag Bunty Jain IT Training, SAP, seekbuntyjain@gmail.com Delhi India.
  • 7. HTML Format <html> <body> <h1>My First Heading</h1> <p>My first paragraph.</p> </body> </html> Bunty Jain IT Training, SAP, seekbuntyjain@gmail.com Delhi India.
  • 8. Editing HTML HTML can be written and edited using many different editors like Dreamweaver and Visual Studio. However, in this tutorial we use a plain text editor (like Notepad) to edit HTML. Bunty Jain IT Training, SAP, seekbuntyjain@g mail.com Delhi India.
  • 9. .HTM or .HTML File Extension? When you save an HTML file, you can use either the .htm or the .html file extension. There is no difference, it is entirely up to you. Bunty Jain IT Training, SAP, seekbuntyjain@gmail.com Delhi India.
  • 10. HTML Headings HTML headings are defined with the <h1> to <h6> tags. Example <h1>This is a heading</h1> <h2>This is a heading</h2> <h3>This is a heading</h3> Bunty Jain IT Training, SAP, seekbuntyjain@gmail.com Delhi India.
  • 11. HTML Paragraphs Paragraphs are defined with the <p> tag. Example <p>This is a paragraph</p> <p>This is another paragraph</p> Bunty Jain IT Training, SAP, seekbuntyjain@gmail.com Delhi India.
  • 12. HTML Links HTML links are defined with the <a> tag. Example <a href="http://www.subjectelement.com"> This is a link</a> Bunty Jain IT Training, SAP, seekbuntyjain@g mail.com Delhi India.
  • 13. HTML Images HTML images are defined with the <img> tag. Example <img src=“subjectelement.jpg" width="104" height="142" /> Bunty Jain IT Training, SAP, seekbuntyjain@gmail.com Delhi India.
  • 14. Nested HTML Elements <html> <body> <p>This is my first paragraph.</p> </body> </html> Bunty Jain IT Training, SAP, seekbuntyjain@g mail.com Delhi India.
  • 15. The <body> element <body> <p>This is my first paragraph.</p> </body> The <body> element defines the body of the HTML document. Bunty Jain IT Training, SAP, seekbuntyjain@g mail.com Delhi India.
  • 16. The <html> element: <html> <body> <p>This is my first paragraph.</p> </body> </html> The <html> element defines the whole HTML document. Bunty Jain IT Training, SAP, seekbuntyjain@g mail.com Delhi India.
  • 17. Don't Forget the End Tag Some HTML elements might display correctly even if you forget the end tag: <p>This is a paragraph The example above works in most browsers, because the closing tag is considered optional. Never rely on this. Bunty Jain IT Training, SAP, seekbuntyjain@gmail.com Delhi India.
  • 18. HTML Tip: Use Lowercase Tags HTML tags are not case sensitive: <P> means the same as <p> Bunty Jain IT Training, SAP, seekbuntyjain@g mail.com Delhi India.
  • 19. HTML Attributes Attributes provide additional information about an element Attributes come in name/value pairs like: name="value“ Example <a href="http://www.subjectselement.com">This is a link</a> Bunty Jain IT Training, SAP, seekbuntyjain@gmail.com Delhi India.
  • 20. HTML Horizontal Lines The <hr /> tag creates a horizontal line in an HTML page. <p>This is a paragraph</p> <hr /> <p>This is a paragraph</p> <hr /> <p>This is a paragraph</p> Bunty Jain IT Training, SAP, seekbuntyjain@gmail.com Delhi India.
  • 21. HTML Comments Comments can be inserted into the HTML code to make it more readable and understandable. Comments are written like this: <!-- This is a comment --> Bunty Jain IT Training, SAP, seekbuntyjain@gmail.com Delhi India.
  • 22. HTML Tip - How to View HTML Source Have you ever seen a Web page and wondered "Hey! How did they do that?" To find out, right-click in the page and select "View Source" (IE) Bunty Jain IT Training, SAP, seekbuntyjain@g mail.com Delhi India.
  • 23. HTML Line Breaks Use the <br /> tag if you want a line break (a new line) without starting a new paragraph: Example <p>This is<br />a para<br />graph with line breaks</p> Bunty Jain IT Training, SAP, seekbuntyjain@gmail.com Delhi India.
  • 24. HTML Text Formatting This text is bold This text is big This text is italic Bunty Jain IT Training, SAP, seekbuntyjain@gmail.com Delhi India.
  • 25. HTML Formatting Tags HTML uses tags like <b> and <i> for formatting output, like bold or italic text. Bunty Jain IT Training, SAP, seekbuntyjain@gmail.com Delhi India.
  • 26. The HTML <font> Tag <p> <font size="5" face="arial" color="red"> This paragraph is in Arial, size 5, and in red text color. </font> </p> <p> <font size="3" face="verdana" color="blue"> This paragraph is in Arial, size 5, and in red text color. </font> </p> Bunty Jain IT Training, SAP, seekbuntyjain@g mail.com Delhi India.
  • 27. HTML Tables <table border="1"> <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> Bunty Jain IT Training, SAP, seekbuntyjain@gmail.com Delhi India.
  • 28. HTML Table Headers <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> Bunty Jain IT Training, SAP, seekbuntyjain@g mail.com Delhi India.
  • 29. HTML Lists <ul> <li>Coffee</li> <li>Milk</li> </ul> <ol> <li>Coffee</li> <li>Milk</li> </ol> Bunty Jain IT Training, SAP, seekbuntyjain@gmail.com Delhi India.
  • 30. HTML Layouts - Using Tables The simplest way of creating layouts is by using the HTML <table> tag. Bunty Jain IT Training, SAP, seekbuntyjain@gmail.com Delhi India.
  • 31. The HTML head Element The following tags can be added to the head section <title>, <base>, <link>, <meta>, <script>, and <style> Bunty Jain IT Training, SAP, seekbuntyjain@g mail.com Delhi India.
  • 32. We can move to learn CSS Thanks Q&A Bunty Jain IT Training, SAP, seekbuntyjain@gmail.com Delhi India.