Billedteksttag i HTML - Arbejde med billedteksttag i HTML med eksempler

Indholdsfortegnelse:

Anonim

Introduktion til billedteksttag i HTML

Billedteksttag i HTML bruges sammen med tabel. Det bruges til at repræsentere titlen på tabellen. tag bruges nøjagtigt efter

tag. Man kan kun bruge et billedtekst ad gangen. Med hjælp CSS kan man passe med tabel i responsivt webdesignformat.

mærket bruges i bordkroppen. Det bruges som første tag efter

tag.
er en kombination af forskellige tags som til oprettelse af rækker og
. Blandt disse tags tag er vigtigt, mens du opretter tabel, som bruges til at oprette bordhoved,
er til at oprette tabel kolonne.

Syntaks

  • Lad os se den faktiske syntaks til definition af billedtekstmærket i HTML-kode:

title text

  • Som vist ovenfor er kodekoden lukket i tag. Det giver titlen til dit bord. Herefter vises hele tabelldataene under denne billedtekst.

    Liste over billedtekstmærker i HTML

    • : Giv overskrift til bordet
    : tag lukket med
    tag
  • : For at oprette tabelhoved, kolonne og række
  • : Sådan indstilles justering af billedtekst.
  • Hvorfor bruger vi billedtekst i HTML?

    • Hver gang vi skal definere nogle data i det tabelformat ved hjælp af tabel.
    • Så for at vise disse data i tabel med en unik titel er brugerens hovedmotto. Denne type titel vises ved hjælp af tag i HTML.
    • Dette er lukket mellem start- og sluttagget, som er placeret efter
    tag. En tabel skal have et billedtekstmærke i bordkroppen.

    Arbejde med billedtekst i HTML

    Som tidligere diskuteres vi om, at billedtekstmærket bruges med tabelmærket. Det bruges med forskellige attributter som fælles attributter, Globale attributter og begivenhedsattributter.

    Nu vil vi se, hvordan disse attributter er nyttige ved arbejde med billedteksttag:

    1. align : Denne attribut bruges med nogle værdier til at justere din billedtekst med henvisning til tabel. Værdierne inkluderet i det som: venstre, højre, øverste og nederste.

    2. Globale attributter : globale attributter i HTML understøttes af tag.

    • accesskey: Dette element fungerer som en genvej til at aktivere eller fokusere et bestemt element.
    • dir: Det bruges til at give ordentlig retning til teksten i indholdet af elementet.
    • klasse: klassebetegnelser bruges til at definere css til specifikt element i HTML. Man kan bruge et eller to klassebetegnelser til et bestemt element og give dem css-egenskaber.
    • contenteditable: Denne attribut bruges til at definere vejr, man kan redigere eller ikke i et givet indholdselement.
    • trækbar: Det bruges til at definere vejr givet element er trækbart eller ikke af brugeren.
    • dropzone: Denne attribut er relateret til den attributbare attribut. Det bruges til at kopiere eller flytte element, når det falder til en bestemt placering.
    • id: id til element bruges til at definere unikt identifikationsnavn til det bestemte element.
    • lang: Denne attribut i tag, der bruges til at definere sprog, som indholdet skrives på. stave grammatiske eller
    • Stavekontrol: Denne attribut angiver, at elementet kontrolleres med dets stavemåde og grammatisk.
    • stil: Dette er meget vigtig attribut, der bruges i billedtekst til at levere inline CSS-egenskaber til elementet.
    • oversætte: vigtigste attribut for at give detaljer om elementet som vejr, det kan oversættes eller ikke.

    3. Begivenhedsattributter: HTML-tag håndterer også forskellige begivenhedsattributter, de er som følger:

    • onafterprint: Denne begivenhed blev udløst, når dokumentet er udskrevet.
    • onbeforeprint: Denne type script udføres før den faktiske udskrivning af dokumentet.
    • onbeforeunload: Dette script udføres, når vores dokument skal aflæses.
    • onerror: denne hændelsesattribut udføres, når der opstår fejl i dokumentet.
    • onload: dette script genereres, når den faktiske indlæsning af siden bliver afsluttet.
    • onmessage: når meddelelsen udløses, forekommer denne begivenhed.

    eksempler

    Nedenfor gives nogle eksempler:

    Eksempel 1

    Her er et eksempel, der viser, hvordan nøjagtigt tag skal bruges i HTML:

    Kode:


    table,
    th,
    td (
    border: 1px solid blue;
    )
    #emp_details (
    font-size:20px;
    color:crimson;
    font-style:italic;
    )


    Employee Details
    Firstname
    Lastname
    EmpId
    Age
    Designation

    Roota
    Mittal
    9110
    32
    Marketing Head

    John
    Roy
    9111
    28
    Sales Head

    Dinesh
    Shetty
    9112
    43
    Developer

    Rucha
    Dev
    9113
    24
    Web Developer

    Niks
    Raw
    9114
    45
    Tester


    table,
    th,
    td (
    border: 1px solid blue;
    )
    #emp_details (
    font-size:20px;
    color:crimson;
    font-style:italic;
    )


    Employee Details
    Firstname
    Lastname
    EmpId
    Age
    Designation

    Roota
    Mittal
    9110
    32
    Marketing Head

    John
    Roy
    9111
    28
    Sales Head

    Dinesh
    Shetty
    9112
    43
    Developer

    Rucha
    Dev
    9113
    24
    Web Developer

    Niks
    Raw
    9114
    45
    Tester


    table,
    th,
    td (
    border: 1px solid blue;
    )
    #emp_details (
    font-size:20px;
    color:crimson;
    font-style:italic;
    )


    Employee Details
    Firstname
    Lastname
    EmpId
    Age
    Designation

    Roota
    Mittal
    9110
    32
    Marketing Head

    John
    Roy
    9111
    28
    Sales Head

    Dinesh
    Shetty
    9112
    43
    Developer

    Rucha
    Dev
    9113
    24
    Web Developer

    Niks
    Raw
    9114
    45
    Tester


    table,
    th,
    td (
    border: 1px solid blue;
    )
    #emp_details (
    font-size:20px;
    color:crimson;
    font-style:italic;
    )


    Employee Details
    Firstname
    Lastname
    EmpId
    Age
    Designation

    Roota
    Mittal
    9110
    32
    Marketing Head

    John
    Roy
    9111
    28
    Sales Head

    Dinesh
    Shetty
    9112
    43
    Developer

    Rucha
    Dev
    9113
    24
    Web Developer

    Niks
    Raw
    9114
    45
    Tester


    table,
    th,
    td (
    border: 1px solid blue;
    )
    #emp_details (
    font-size:20px;
    color:crimson;
    font-style:italic;
    )


    Employee Details
    Firstname
    Lastname
    EmpId
    Age
    Designation

    Roota
    Mittal
    9110
    32
    Marketing Head

    John
    Roy
    9111
    28
    Sales Head

    Dinesh
    Shetty
    9112
    43
    Developer

    Rucha
    Dev
    9113
    24
    Web Developer

    Niks
    Raw
    9114
    45
    Tester


    table,
    th,
    td (
    border: 1px solid blue;
    )
    #emp_details (
    font-size:20px;
    color:crimson;
    font-style:italic;
    )


    Employee Details
    Firstname
    Lastname
    EmpId
    Age
    Designation

    Roota
    Mittal
    9110
    32
    Marketing Head

    John
    Roy
    9111
    28
    Sales Head

    Dinesh
    Shetty
    9112
    43
    Developer

    Rucha
    Dev
    9113
    24
    Web Developer

    Niks
    Raw
    9114
    45
    Tester


    table,
    th,
    td (
    border: 1px solid blue;
    )
    #emp_details (
    font-size:20px;
    color:crimson;
    font-style:italic;
    )


    Employee Details
    Firstname
    Lastname
    EmpId
    Age
    Designation

    Roota
    Mittal
    9110
    32
    Marketing Head

    John
    Roy
    9111
    28
    Sales Head

    Dinesh
    Shetty
    9112
    43
    Developer

    Rucha
    Dev
    9113
    24
    Web Developer

    Niks
    Raw
    9114
    45
    Tester


    table,
    th,
    td (
    border: 1px solid blue;
    )
    #emp_details (
    font-size:20px;
    color:crimson;
    font-style:italic;
    )


    Employee Details
    Firstname
    Lastname
    EmpId
    Age
    Designation

    Roota
    Mittal
    9110
    32
    Marketing Head

    John
    Roy
    9111
    28
    Sales Head

    Dinesh
    Shetty
    9112
    43
    Developer

    Rucha
    Dev
    9113
    24
    Web Developer

    Niks
    Raw
    9114
    45
    Tester


    table,
    th,
    td (
    border: 1px solid blue;
    )
    #emp_details (
    font-size:20px;
    color:crimson;
    font-style:italic;
    )


    Employee Details
    Firstname
    Lastname
    EmpId
    Age
    Designation

    Roota
    Mittal
    9110
    32
    Marketing Head

    John
    Roy
    9111
    28
    Sales Head

    Dinesh
    Shetty
    9112
    43
    Developer

    Rucha
    Dev
    9113
    24
    Web Developer

    Niks
    Raw
    9114
    45
    Tester


    table,
    th,
    td (
    border: 1px solid blue;
    )
    #emp_details (
    font-size:20px;
    color:crimson;
    font-style:italic;
    )


    Employee Details
    Firstname
    Lastname
    EmpId
    Age
    Designation

    Roota
    Mittal
    9110
    32
    Marketing Head

    John
    Roy
    9111
    28
    Sales Head

    Dinesh
    Shetty
    9112
    43
    Developer

    Rucha
    Dev
    9113
    24
    Web Developer

    Niks
    Raw
    9114
    45
    Tester


    table,
    th,
    td (
    border: 1px solid blue;
    )
    #emp_details (
    font-size:20px;
    color:crimson;
    font-style:italic;
    )


    Employee Details
    Firstname
    Lastname
    EmpId
    Age
    Designation

    Roota
    Mittal
    9110
    32
    Marketing Head

    John
    Roy
    9111
    28
    Sales Head

    Dinesh
    Shetty
    9112
    43
    Developer

    Rucha
    Dev
    9113
    24
    Web Developer

    Niks
    Raw
    9114
    45
    Tester


    table,
    th,
    td (
    border: 1px solid blue;
    )
    #emp_details (
    font-size:20px;
    color:crimson;
    font-style:italic;
    )


    Employee Details
    Firstname
    Lastname
    EmpId
    Age
    Designation

    Roota
    Mittal
    9110
    32
    Marketing Head

    John
    Roy
    9111
    28
    Sales Head

    Dinesh
    Shetty
    9112
    43
    Developer

    Rucha
    Dev
    9113
    24
    Web Developer

    Niks
    Raw
    9114
    45
    Tester


    table,
    th,
    td (
    border: 1px solid blue;
    )
    #emp_details (
    font-size:20px;
    color:crimson;
    font-style:italic;
    )


    Employee Details
    Firstname
    Lastname
    EmpId
    Age
    Designation

    Roota
    Mittal
    9110
    32
    Marketing Head

    John
    Roy
    9111
    28
    Sales Head

    Dinesh
    Shetty
    9112
    43
    Developer

    Rucha
    Dev
    9113
    24
    Web Developer

    Niks
    Raw
    9114
    45
    Tester


    table,
    th,
    td (
    border: 1px solid blue;
    )
    #emp_details (
    font-size:20px;
    color:crimson;
    font-style:italic;
    )


    Employee Details
    Firstname
    Lastname
    EmpId
    Age
    Designation

    Roota
    Mittal
    9110
    32
    Marketing Head

    John
    Roy
    9111
    28
    Sales Head

    Dinesh
    Shetty
    9112
    43
    Developer

    Rucha
    Dev
    9113
    24
    Web Developer

    Niks
    Raw
    9114
    45
    Tester


    table,
    th,
    td (
    border: 1px solid blue;
    )
    #emp_details (
    font-size:20px;
    color:crimson;
    font-style:italic;
    )


    Employee Details
    Firstname
    Lastname
    EmpId
    Age
    Designation

    Roota
    Mittal
    9110
    32
    Marketing Head

    John
    Roy
    9111
    28
    Sales Head

    Dinesh
    Shetty
    9112
    43
    Developer

    Rucha
    Dev
    9113
    24
    Web Developer

    Niks
    Raw
    9114
    45
    Tester


    table,
    th,
    td (
    border: 1px solid blue;
    )
    #emp_details (
    font-size:20px;
    color:crimson;
    font-style:italic;
    )


    Employee Details
    Firstname
    Lastname
    EmpId
    Age
    Designation

    Roota
    Mittal
    9110
    32
    Marketing Head

    John
    Roy
    9111
    28
    Sales Head

    Dinesh
    Shetty
    9112
    43
    Developer

    Rucha
    Dev
    9113
    24
    Web Developer

    Niks
    Raw
    9114
    45
    Tester


    table,
    th,
    td (
    border: 1px solid blue;
    )
    #emp_details (
    font-size:20px;
    color:crimson;
    font-style:italic;
    )


    Employee Details
    Firstname
    Lastname
    EmpId
    Age
    Designation

    Roota
    Mittal
    9110
    32
    Marketing Head

    John
    Roy
    9111
    28
    Sales Head

    Dinesh
    Shetty
    9112
    43
    Developer

    Rucha
    Dev
    9113
    24
    Web Developer

    Niks
    Raw
    9114
    45
    Tester


    table,
    th,
    td (
    border: 1px solid blue;
    )
    #emp_details (
    font-size:20px;
    color:crimson;
    font-style:italic;
    )


    Employee Details
    Firstname
    Lastname
    EmpId
    Age
    Designation

    Roota
    Mittal
    9110
    32
    Marketing Head

    John
    Roy
    9111
    28
    Sales Head

    Dinesh
    Shetty
    9112
    43
    Developer

    Rucha
    Dev
    9113
    24
    Web Developer

    Niks
    Raw
    9114
    45
    Tester


    table,
    th,
    td (
    border: 1px solid blue;
    )
    #emp_details (
    font-size:20px;
    color:crimson;
    font-style:italic;
    )


    Employee Details
    Firstname
    Lastname
    EmpId
    Age
    Designation

    Roota
    Mittal
    9110
    32
    Marketing Head

    John
    Roy
    9111
    28
    Sales Head

    Dinesh
    Shetty
    9112
    43
    Developer

    Rucha
    Dev
    9113
    24
    Web Developer

    Niks
    Raw
    9114
    45
    Tester


    table,
    th,
    td (
    border: 1px solid blue;
    )
    #emp_details (
    font-size:20px;
    color:crimson;
    font-style:italic;
    )


    Employee Details
    Firstname
    Lastname
    EmpId
    Age
    Designation

    Roota
    Mittal
    9110
    32
    Marketing Head

    John
    Roy
    9111
    28
    Sales Head

    Dinesh
    Shetty
    9112
    43
    Developer

    Rucha
    Dev
    9113
    24
    Web Developer

    Niks
    Raw
    9114
    45
    Tester


    table,
    th,
    td (
    border: 1px solid blue;
    )
    #emp_details (
    font-size:20px;
    color:crimson;
    font-style:italic;
    )


    Employee Details
    Firstname
    Lastname
    EmpId
    Age
    Designation

    Roota
    Mittal
    9110
    32
    Marketing Head

    John
    Roy
    9111
    28
    Sales Head

    Dinesh
    Shetty
    9112
    43
    Developer

    Rucha
    Dev
    9113
    24
    Web Developer

    Niks
    Raw
    9114
    45
    Tester


    table,
    th,
    td (
    border: 1px solid blue;
    )
    #emp_details (
    font-size:20px;
    color:crimson;
    font-style:italic;
    )


    Employee Details
    Firstname
    Lastname
    EmpId
    Age
    Designation

    Roota
    Mittal
    9110
    32
    Marketing Head

    John
    Roy
    9111
    28
    Sales Head

    Dinesh
    Shetty
    9112
    43
    Developer

    Rucha
    Dev
    9113
    24
    Web Developer

    Niks
    Raw
    9114
    45
    Tester


    table,
    th,
    td (
    border: 1px solid blue;
    )
    #emp_details (
    font-size:20px;
    color:crimson;
    font-style:italic;
    )


    Employee Details
    Firstname
    Lastname
    EmpId
    Age
    Designation

    Roota
    Mittal
    9110
    32
    Marketing Head

    John
    Roy
    9111
    28
    Sales Head

    Dinesh
    Shetty
    9112
    43
    Developer

    Rucha
    Dev
    9113
    24
    Web Developer

    Niks
    Raw
    9114
    45
    Tester


    table,
    th,
    td (
    border: 1px solid blue;
    )
    #emp_details (
    font-size:20px;
    color:crimson;
    font-style:italic;
    )


    Employee Details
    Firstname
    Lastname
    EmpId
    Age
    Designation

    Roota
    Mittal
    9110
    32
    Marketing Head

    John
    Roy
    9111
    28
    Sales Head

    Dinesh
    Shetty
    9112
    43
    Developer

    Rucha
    Dev
    9113
    24
    Web Developer

    Niks
    Raw
    9114
    45
    Tester


    table,
    th,
    td (
    border: 1px solid blue;
    )
    #emp_details (
    font-size:20px;
    color:crimson;
    font-style:italic;
    )


    Employee Details
    Firstname
    Lastname
    EmpId
    Age
    Designation

    Roota
    Mittal
    9110
    32
    Marketing Head

    John
    Roy
    9111
    28
    Sales Head

    Dinesh
    Shetty
    9112
    43
    Developer

    Rucha
    Dev
    9113
    24
    Web Developer

    Niks
    Raw
    9114
    45
    Tester


    table,
    th,
    td (
    border: 1px solid blue;
    )
    #emp_details (
    font-size:20px;
    color:crimson;
    font-style:italic;
    )


    Employee Details
    Firstname
    Lastname
    EmpId
    Age
    Designation

    Roota
    Mittal
    9110
    32
    Marketing Head

    John
    Roy
    9111
    28
    Sales Head

    Dinesh
    Shetty
    9112
    43
    Developer

    Rucha
    Dev
    9113
    24
    Web Developer

    Niks
    Raw
    9114
    45
    Tester


    table,
    th,
    td (
    border: 1px solid blue;
    )
    #emp_details (
    font-size:20px;
    color:crimson;
    font-style:italic;
    )


    Employee Details
    Firstname
    Lastname
    EmpId
    Age
    Designation

    Roota
    Mittal
    9110
    32
    Marketing Head

    John
    Roy
    9111
    28
    Sales Head

    Dinesh
    Shetty
    9112
    43
    Developer

    Rucha
    Dev
    9113
    24
    Web Developer

    Niks
    Raw
    9114
    45
    Tester


    table,
    th,
    td (
    border: 1px solid blue;
    )
    #emp_details (
    font-size:20px;
    color:crimson;
    font-style:italic;
    )


    Employee Details
    Firstname
    Lastname
    EmpId
    Age
    Designation

    Roota
    Mittal
    9110
    32
    Marketing Head

    John
    Roy
    9111
    28
    Sales Head

    Dinesh
    Shetty
    9112
    43
    Developer

    Rucha
    Dev
    9113
    24
    Web Developer

    Niks
    Raw
    9114
    45
    Tester


    table,
    th,
    td (
    border: 1px solid blue;
    )
    #emp_details (
    font-size:20px;
    color:crimson;
    font-style:italic;
    )


    Employee Details
    Firstname
    Lastname
    EmpId
    Age
    Designation

    Roota
    Mittal
    9110
    32
    Marketing Head

    John
    Roy
    9111
    28
    Sales Head

    Dinesh
    Shetty
    9112
    43
    Developer

    Rucha
    Dev
    9113
    24
    Web Developer

    Niks
    Raw
    9114
    45
    Tester


    table,
    th,
    td (
    border: 1px solid blue;
    )
    #emp_details (
    font-size:20px;
    color:crimson;
    font-style:italic;
    )


    Employee Details
    Firstname
    Lastname
    EmpId
    Age
    Designation

    Roota
    Mittal
    9110
    32
    Marketing Head

    John
    Roy
    9111
    28
    Sales Head

    Dinesh
    Shetty
    9112
    43
    Developer

    Rucha
    Dev
    9113
    24
    Web Developer

    Niks
    Raw
    9114
    45
    Tester


    table,
    th,
    td (
    border: 1px solid blue;
    )
    #emp_details (
    font-size:20px;
    color:crimson;
    font-style:italic;
    )


    Employee Details
    Firstname
    Lastname
    EmpId
    Age
    Designation

    Roota
    Mittal
    9110
    32
    Marketing Head

    John
    Roy
    9111
    28
    Sales Head

    Dinesh
    Shetty
    9112
    43
    Developer

    Rucha
    Dev
    9113
    24
    Web Developer

    Niks
    Raw
    9114
    45
    Tester


    table,
    th,
    td (
    border: 1px solid blue;
    )
    #emp_details (
    font-size:20px;
    color:crimson;
    font-style:italic;
    )


    Employee Details
    Firstname
    Lastname
    EmpId
    Age
    Designation

    Roota
    Mittal
    9110
    32
    Marketing Head

    John
    Roy
    9111
    28
    Sales Head

    Dinesh
    Shetty
    9112
    43
    Developer

    Rucha
    Dev
    9113
    24
    Web Developer

    Niks
    Raw
    9114
    45
    Tester


    table,
    th,
    td (
    border: 1px solid blue;
    )
    #emp_details (
    font-size:20px;
    color:crimson;
    font-style:italic;
    )


    Employee Details
    Firstname
    Lastname
    EmpId
    Age
    Designation

    Roota
    Mittal
    9110
    32
    Marketing Head

    John
    Roy
    9111
    28
    Sales Head

    Dinesh
    Shetty
    9112
    43
    Developer

    Rucha
    Dev
    9113
    24
    Web Developer

    Niks
    Raw
    9114
    45
    Tester


    table,
    th,
    td (
    border: 1px solid blue;
    )
    #emp_details (
    font-size:20px;
    color:crimson;
    font-style:italic;
    )


    Employee Details
    Firstname
    Lastname
    EmpId
    Age
    Designation

    Roota
    Mittal
    9110
    32
    Marketing Head

    John
    Roy
    9111
    28
    Sales Head

    Dinesh
    Shetty
    9112
    43
    Developer

    Rucha
    Dev
    9113
    24
    Web Developer

    Niks
    Raw
    9114
    45
    Tester


    table,
    th,
    td (
    border: 1px solid blue;
    )
    #emp_details (
    font-size:20px;
    color:crimson;
    font-style:italic;
    )


    Employee Details
    Firstname
    Lastname
    EmpId
    Age
    Designation

    Roota
    Mittal
    9110
    32
    Marketing Head

    John
    Roy
    9111
    28
    Sales Head

    Dinesh
    Shetty
    9112
    43
    Developer

    Rucha
    Dev
    9113
    24
    Web Developer

    Niks
    Raw
    9114
    45
    Tester


    table,
    th,
    td (
    border: 1px solid blue;
    )
    #emp_details (
    font-size:20px;
    color:crimson;
    font-style:italic;
    )


    Employee Details
    Firstname
    Lastname
    EmpId
    Age
    Designation

    Roota
    Mittal
    9110
    32
    Marketing Head

    John
    Roy
    9111
    28
    Sales Head

    Dinesh
    Shetty
    9112
    43
    Developer

    Rucha
    Dev
    9113
    24
    Web Developer

    Niks
    Raw
    9114
    45
    Tester


    table,
    th,
    td (
    border: 1px solid blue;
    )
    #emp_details (
    font-size:20px;
    color:crimson;
    font-style:italic;
    )


    Employee Details
    Firstname
    Lastname
    EmpId
    Age
    Designation

    Roota
    Mittal
    9110
    32
    Marketing Head

    John
    Roy
    9111
    28
    Sales Head

    Dinesh
    Shetty
    9112
    43
    Developer

    Rucha
    Dev
    9113
    24
    Web Developer

    Niks
    Raw
    9114
    45
    Tester


    table,
    th,
    td (
    border: 1px solid blue;
    )
    #emp_details (
    font-size:20px;
    color:crimson;
    font-style:italic;
    )


    Employee Details
    Firstname
    Lastname
    EmpId
    Age
    Designation

    Roota
    Mittal
    9110
    32
    Marketing Head

    John
    Roy
    9111
    28
    Sales Head

    Dinesh
    Shetty
    9112
    43
    Developer

    Rucha
    Dev
    9113
    24
    Web Developer

    Niks
    Raw
    9114
    45
    Tester


    table,
    th,
    td (
    border: 1px solid blue;
    )
    #emp_details (
    font-size:20px;
    color:crimson;
    font-style:italic;
    )


    Employee Details
    Firstname
    Lastname
    EmpId
    Age
    Designation

    Roota
    Mittal
    9110
    32
    Marketing Head

    John
    Roy
    9111
    28
    Sales Head

    Dinesh
    Shetty
    9112
    43
    Developer

    Rucha
    Dev
    9113
    24
    Web Developer

    Niks
    Raw
    9114
    45
    Tester


    table,
    th,
    td (
    border: 1px solid blue;
    )
    #emp_details (
    font-size:20px;
    color:crimson;
    font-style:italic;
    )


    Employee Details
    Firstname
    Lastname
    EmpId
    Age
    Designation

    Roota
    Mittal
    9110
    32
    Marketing Head

    John
    Roy
    9111
    28
    Sales Head

    Dinesh
    Shetty
    9112
    43
    Developer

    Rucha
    Dev
    9113
    24
    Web Developer

    Niks
    Raw
    9114
    45
    Tester


    table,
    th,
    td (
    border: 1px solid blue;
    )
    #emp_details (
    font-size:20px;
    color:crimson;
    font-style:italic;
    )


    Employee Details
    Firstname
    Lastname
    EmpId
    Age
    Designation

    Roota
    Mittal
    9110
    32
    Marketing Head

    John
    Roy
    9111
    28
    Sales Head

    Dinesh
    Shetty
    9112
    43
    Developer

    Rucha
    Dev
    9113
    24
    Web Developer

    Niks
    Raw
    9114
    45
    Tester


    table,
    th,
    td (
    border: 1px solid blue;
    )
    #emp_details (
    font-size:20px;
    color:crimson;
    font-style:italic;
    )


    Employee Details
    Firstname
    Lastname
    EmpId
    Age
    Designation

    Roota
    Mittal
    9110
    32
    Marketing Head

    John
    Roy
    9111
    28
    Sales Head

    Dinesh
    Shetty
    9112
    43
    Developer

    Rucha
    Dev
    9113
    24
    Web Developer

    Niks
    Raw
    9114
    45
    Tester


    table,
    th,
    td (
    border: 1px solid blue;
    )
    #emp_details (
    font-size:20px;
    color:crimson;
    font-style:italic;
    )


    Employee Details
    Firstname
    Lastname
    EmpId
    Age
    Designation

    Roota
    Mittal
    9110
    32
    Marketing Head

    John
    Roy
    9111
    28
    Sales Head

    Dinesh
    Shetty
    9112
    43
    Developer

    Rucha
    Dev
    9113
    24
    Web Developer

    Niks
    Raw
    9114
    45
    Tester


    table,
    th,
    td (
    border: 1px solid blue;
    )
    #emp_details (
    font-size:20px;
    color:crimson;
    font-style:italic;
    )


    Employee Details
    Firstname
    Lastname
    EmpId
    Age
    Designation

    Roota
    Mittal
    9110
    32
    Marketing Head

    John
    Roy
    9111
    28
    Sales Head

    Dinesh
    Shetty
    9112
    43
    Developer

    Rucha
    Dev
    9113
    24
    Web Developer

    Niks
    Raw
    9114
    45
    Tester


    table,
    th,
    td (
    border: 1px solid blue;
    )
    #emp_details (
    font-size:20px;
    color:crimson;
    font-style:italic;
    )


    Employee Details
    Firstname
    Lastname
    EmpId
    Age
    Designation

    Roota
    Mittal
    9110
    32
    Marketing Head

    John
    Roy
    9111
    28
    Sales Head

    Dinesh
    Shetty
    9112
    43
    Developer

    Rucha
    Dev
    9113
    24
    Web Developer

    Niks
    Raw
    9114
    45
    Tester


    table,
    th,
    td (
    border: 1px solid blue;
    )
    #emp_details (
    font-size:20px;
    color:crimson;
    font-style:italic;
    )


    Employee Details
    Firstname
    Lastname
    EmpId
    Age
    Designation

    Roota
    Mittal
    9110
    32
    Marketing Head

    John
    Roy
    9111
    28
    Sales Head

    Dinesh
    Shetty
    9112
    43
    Developer

    Rucha
    Dev
    9113
    24
    Web Developer

    Niks
    Raw
    9114
    45
    Tester


    table,
    th,
    td (
    border: 1px solid blue;
    )
    #emp_details (
    font-size:20px;
    color:crimson;
    font-style:italic;
    )


    Employee Details
    Firstname
    Lastname
    EmpId
    Age
    Designation

    Roota
    Mittal
    9110
    32
    Marketing Head

    John
    Roy
    9111
    28
    Sales Head

    Dinesh
    Shetty
    9112
    43
    Developer

    Rucha
    Dev
    9113
    24
    Web Developer

    Niks
    Raw
    9114
    45
    Tester


    table,
    th,
    td (
    border: 1px solid blue;
    )
    #emp_details (
    font-size:20px;
    color:crimson;
    font-style:italic;
    )


    Employee Details
    Firstname
    Lastname
    EmpId
    Age
    Designation

    Roota
    Mittal
    9110
    32
    Marketing Head

    John
    Roy
    9111
    28
    Sales Head

    Dinesh
    Shetty
    9112
    43
    Developer

    Rucha
    Dev
    9113
    24
    Web Developer

    Niks
    Raw
    9114
    45
    Tester


    table,
    th,
    td (
    border: 1px solid blue;
    )
    #emp_details (
    font-size:20px;
    color:crimson;
    font-style:italic;
    )


    Employee Details
    Firstname
    Lastname
    EmpId
    Age
    Designation

    Roota
    Mittal
    9110
    32
    Marketing Head

    John
    Roy
    9111
    28
    Sales Head

    Dinesh
    Shetty
    9112
    43
    Developer

    Rucha
    Dev
    9113
    24
    Web Developer

    Niks
    Raw
    9114
    45
    Tester


    table,
    th,
    td (
    border: 1px solid blue;
    )
    #emp_details (
    font-size:20px;
    color:crimson;
    font-style:italic;
    )


    Employee Details
    Firstname
    Lastname
    EmpId
    Age
    Designation

    Roota
    Mittal
    9110
    32
    Marketing Head

    John
    Roy
    9111
    28
    Sales Head

    Dinesh
    Shetty
    9112
    43
    Developer

    Rucha
    Dev
    9113
    24
    Web Developer

    Niks
    Raw
    9114
    45
    Tester


    table,
    th,
    td (
    border: 1px solid blue;
    )
    #emp_details (
    font-size:20px;
    color:crimson;
    font-style:italic;
    )


    Employee Details
    Firstname
    Lastname
    EmpId
    Age
    Designation

    Roota
    Mittal
    9110
    32
    Marketing Head

    John
    Roy
    9111
    28
    Sales Head

    Dinesh
    Shetty
    9112
    43
    Developer

    Rucha
    Dev
    9113
    24
    Web Developer

    Niks
    Raw
    9114
    45
    Tester


    table,
    th,
    td (
    border: 1px solid blue;
    )
    #emp_details (
    font-size:20px;
    color:crimson;
    font-style:italic;
    )


    Employee Details
    Firstname
    Lastname
    EmpId
    Age
    Designation

    Roota
    Mittal
    9110
    32
    Marketing Head

    John
    Roy
    9111
    28
    Sales Head

    Dinesh
    Shetty
    9112
    43
    Developer

    Rucha
    Dev
    9113
    24
    Web Developer

    Niks
    Raw
    9114
    45
    Tester


    table,
    th,
    td (
    border: 1px solid blue;
    )
    #emp_details (
    font-size:20px;
    color:crimson;
    font-style:italic;
    )


    Employee Details
    Firstname
    Lastname
    EmpId
    Age
    Designation

    Roota
    Mittal
    9110
    32
    Marketing Head

    John
    Roy
    9111
    28
    Sales Head

    Dinesh
    Shetty
    9112
    43
    Developer

    Rucha
    Dev
    9113
    24
    Web Developer

    Niks
    Raw
    9114
    45
    Tester


    table,
    th,
    td (
    border: 1px solid blue;
    )
    #emp_details (
    font-size:20px;
    color:crimson;
    font-style:italic;
    )


    Employee Details
    Firstname
    Lastname
    EmpId
    Age
    Designation

    Roota
    Mittal
    9110
    32
    Marketing Head

    John
    Roy
    9111
    28
    Sales Head

    Dinesh
    Shetty
    9112
    43
    Developer

    Rucha
    Dev
    9113
    24
    Web Developer

    Niks
    Raw
    9114
    45
    Tester


    table,
    th,
    td (
    border: 1px solid blue;
    )
    #emp_details (
    font-size:20px;
    color:crimson;
    font-style:italic;
    )


    Employee Details
    Firstname
    Lastname
    EmpId
    Age
    Designation

    Roota
    Mittal
    9110
    32
    Marketing Head

    John
    Roy
    9111
    28
    Sales Head

    Dinesh
    Shetty
    9112
    43
    Developer

    Rucha
    Dev
    9113
    24
    Web Developer

    Niks
    Raw
    9114
    45
    Tester


    table,
    th,
    td (
    border: 1px solid blue;
    )
    #emp_details (
    font-size:20px;
    color:crimson;
    font-style:italic;
    )


    Employee Details
    Firstname
    Lastname
    EmpId
    Age
    Designation

    Roota
    Mittal
    9110
    32
    Marketing Head

    John
    Roy
    9111
    28
    Sales Head

    Dinesh
    Shetty
    9112
    43
    Developer

    Rucha
    Dev
    9113
    24
    Web Developer

    Niks
    Raw
    9114
    45
    Tester


    table,
    th,
    td (
    border: 1px solid blue;
    )
    #emp_details (
    font-size:20px;
    color:crimson;
    font-style:italic;
    )


    Employee Details
    Firstname
    Lastname
    EmpId
    Age
    Designation

    Roota
    Mittal
    9110
    32
    Marketing Head

    John
    Roy
    9111
    28
    Sales Head

    Dinesh
    Shetty
    9112
    43
    Developer

    Rucha
    Dev
    9113
    24
    Web Developer

    Niks
    Raw
    9114
    45
    Tester


    table,
    th,
    td (
    border: 1px solid blue;
    )
    #emp_details (
    font-size:20px;
    color:crimson;
    font-style:italic;
    )


    Employee Details
    Firstname
    Lastname
    EmpId
    Age
    Designation

    Roota
    Mittal
    9110
    32
    Marketing Head

    John
    Roy
    9111
    28
    Sales Head

    Dinesh
    Shetty
    9112
    43
    Developer

    Rucha
    Dev
    9113
    24
    Web Developer

    Niks
    Raw
    9114
    45
    Tester


    table,
    th,
    td (
    border: 1px solid blue;
    )
    #emp_details (
    font-size:20px;
    color:crimson;
    font-style:italic;
    )


    Employee Details
    Firstname
    Lastname
    EmpId
    Age
    Designation

    Roota
    Mittal
    9110
    32
    Marketing Head

    John
    Roy
    9111
    28
    Sales Head

    Dinesh
    Shetty
    9112
    43
    Developer

    Rucha
    Dev
    9113
    24
    Web Developer

    Niks
    Raw
    9114
    45
    Tester


    table,
    th,
    td (
    border: 1px solid blue;
    )
    #emp_details (
    font-size:20px;
    color:crimson;
    font-style:italic;
    )


    Employee Details
    Firstname
    Lastname
    EmpId
    Age
    Designation

    Roota
    Mittal
    9110
    32
    Marketing Head

    John
    Roy
    9111
    28
    Sales Head

    Dinesh
    Shetty
    9112
    43
    Developer

    Rucha
    Dev
    9113
    24
    Web Developer

    Niks
    Raw
    9114
    45
    Tester


    table,
    th,
    td (
    border: 1px solid blue;
    )
    #emp_details (
    font-size:20px;
    color:crimson;
    font-style:italic;
    )


    Employee Details
    Firstname
    Lastname
    EmpId
    Age
    Designation

    Roota
    Mittal
    9110
    32
    Marketing Head

    John
    Roy
    9111
    28
    Sales Head

    Dinesh
    Shetty
    9112
    43
    Developer

    Rucha
    Dev
    9113
    24
    Web Developer

    Niks
    Raw
    9114
    45
    Tester


    table,
    th,
    td (
    border: 1px solid blue;
    )
    #emp_details (
    font-size:20px;
    color:crimson;
    font-style:italic;
    )


    Employee Details
    Firstname
    Lastname
    EmpId
    Age
    Designation

    Roota
    Mittal
    9110
    32
    Marketing Head

    John
    Roy
    9111
    28
    Sales Head

    Dinesh
    Shetty
    9112
    43
    Developer

    Rucha
    Dev
    9113
    24
    Web Developer

    Niks
    Raw
    9114
    45
    Tester


    table,
    th,
    td (
    border: 1px solid blue;
    )
    #emp_details (
    font-size:20px;
    color:crimson;
    font-style:italic;
    )


    Employee Details
    Firstname
    Lastname
    EmpId
    Age
    Designation

    Roota
    Mittal
    9110
    32
    Marketing Head

    John
    Roy
    9111
    28
    Sales Head

    Dinesh
    Shetty
    9112
    43
    Developer

    Rucha
    Dev
    9113
    24
    Web Developer

    Niks
    Raw
    9114
    45
    Tester


    table,
    th,
    td (
    border: 1px solid blue;
    )
    #emp_details (
    font-size:20px;
    color:crimson;
    font-style:italic;
    )


    Employee Details
    Firstname
    Lastname
    EmpId
    Age
    Designation

    Roota
    Mittal
    9110
    32
    Marketing Head

    John
    Roy
    9111
    28
    Sales Head

    Dinesh
    Shetty
    9112
    43
    Developer

    Rucha
    Dev
    9113
    24
    Web Developer

    Niks
    Raw
    9114
    45
    Tester


    table,
    th,
    td (
    border: 1px solid blue;
    )
    #emp_details (
    font-size:20px;
    color:crimson;
    font-style:italic;
    )


    Employee Details
    Firstname
    Lastname
    EmpId
    Age
    Designation

    Roota
    Mittal
    9110
    32
    Marketing Head

    John
    Roy
    9111
    28
    Sales Head

    Dinesh
    Shetty
    9112
    43
    Developer

    Rucha
    Dev
    9113
    24
    Web Developer

    Niks
    Raw
    9114
    45
    Tester


    table,
    th,
    td (
    border: 1px solid blue;
    )
    #emp_details (
    font-size:20px;
    color:crimson;
    font-style:italic;
    )


    Employee Details
    Firstname
    Lastname
    EmpId
    Age
    Designation

    Roota
    Mittal
    9110
    32
    Marketing Head

    John
    Roy
    9111
    28
    Sales Head

    Dinesh
    Shetty
    9112
    43
    Developer

    Rucha
    Dev
    9113
    24
    Web Developer

    Niks
    Raw
    9114
    45
    Tester


    table,
    th,
    td (
    border: 1px solid blue;
    )
    #emp_details (
    font-size:20px;
    color:crimson;
    font-style:italic;
    )


    Employee Details
    Firstname
    Lastname
    EmpId
    Age
    Designation

    Roota
    Mittal
    9110
    32
    Marketing Head

    John
    Roy
    9111
    28
    Sales Head

    Dinesh
    Shetty
    9112
    43
    Developer

    Rucha
    Dev
    9113
    24
    Web Developer

    Niks
    Raw
    9114
    45
    Tester


    table,
    th,
    td (
    border: 1px solid blue;
    )
    #emp_details (
    font-size:20px;
    color:crimson;
    font-style:italic;
    )


    Employee Details
    Firstname
    Lastname
    EmpId
    Age
    Designation

    Roota
    Mittal
    9110
    32
    Marketing Head

    John
    Roy
    9111
    28
    Sales Head

    Dinesh
    Shetty
    9112
    43
    Developer

    Rucha
    Dev
    9113
    24
    Web Developer

    Niks
    Raw
    9114
    45
    Tester


    table,
    th,
    td (
    border: 1px solid blue;
    )
    #emp_details (
    font-size:20px;
    color:crimson;
    font-style:italic;
    )


    Employee Details
    Firstname
    Lastname
    EmpId
    Age
    Designation

    Roota
    Mittal
    9110
    32
    Marketing Head

    John
    Roy
    9111
    28
    Sales Head

    Dinesh
    Shetty
    9112
    43
    Developer

    Rucha
    Dev
    9113
    24
    Web Developer

    Niks
    Raw
    9114
    45
    Tester


    table,
    th,
    td (
    border: 1px solid blue;
    )
    #emp_details (
    font-size:20px;
    color:crimson;
    font-style:italic;
    )


    Employee Details
    Firstname
    Lastname
    EmpId
    Age
    Designation

    Roota
    Mittal
    9110
    32
    Marketing Head

    John
    Roy
    9111
    28
    Sales Head

    Dinesh
    Shetty
    9112
    43
    Developer

    Rucha
    Dev
    9113
    24
    Web Developer

    Niks
    Raw
    9114
    45
    Tester


    table,
    th,
    td (
    border: 1px solid blue;
    )
    #emp_details (
    font-size:20px;
    color:crimson;
    font-style:italic;
    )


    Employee Details
    Firstname
    Lastname
    EmpId
    Age
    Designation

    Roota
    Mittal
    9110
    32
    Marketing Head

    John
    Roy
    9111
    28
    Sales Head

    Dinesh
    Shetty
    9112
    43
    Developer

    Rucha
    Dev
    9113
    24
    Web Developer

    Niks
    Raw
    9114
    45
    Tester


    table,
    th,
    td (
    border: 1px solid blue;
    )
    #emp_details (
    font-size:20px;
    color:crimson;
    font-style:italic;
    )


    Employee Details
    Firstname
    Lastname
    EmpId
    Age
    Designation

    Roota
    Mittal
    9110
    32
    Marketing Head

    John
    Roy
    9111
    28
    Sales Head

    Dinesh
    Shetty
    9112
    43
    Developer

    Rucha
    Dev
    9113
    24
    Web Developer

    Niks
    Raw
    9114
    45
    Tester


    table,
    th,
    td (
    border: 1px solid blue;
    )
    #emp_details (
    font-size:20px;
    color:crimson;
    font-style:italic;
    )


    Employee Details
    Firstname
    Lastname
    EmpId
    Age
    Designation

    Roota
    Mittal
    9110
    32
    Marketing Head

    John
    Roy
    9111
    28
    Sales Head

    Dinesh
    Shetty
    9112
    43
    Developer

    Rucha
    Dev
    9113
    24
    Web Developer

    Niks
    Raw
    9114
    45
    Tester


    table,
    th,
    td (
    border: 1px solid blue;
    )
    #emp_details (
    font-size:20px;
    color:crimson;
    font-style:italic;
    )


    Employee Details
    Firstname
    Lastname
    EmpId
    Age
    Designation

    Roota
    Mittal
    9110
    32
    Marketing Head

    John
    Roy
    9111
    28
    Sales Head

    Dinesh
    Shetty
    9112
    43
    Developer

    Rucha
    Dev
    9113
    24
    Web Developer

    Niks
    Raw
    9114
    45
    Tester


    table,
    th,
    td (
    border: 1px solid blue;
    )
    #emp_details (
    font-size:20px;
    color:crimson;
    font-style:italic;
    )


    Employee Details
    Firstname
    Lastname
    EmpId
    Age
    Designation

    Roota
    Mittal
    9110
    32
    Marketing Head

    John
    Roy
    9111
    28
    Sales Head

    Dinesh
    Shetty
    9112
    43
    Developer

    Rucha
    Dev
    9113
    24
    Web Developer

    Niks
    Raw
    9114
    45
    Tester

    Produktion:

    Eksempel 2

    Her er et andet eksempel, der viser, hvordan nøjagtigt mærke skal bruges til at justere attribut med inline CSS, og justere billedtekst til venstre:

    Kode:

    table, th, td (
    border: 2px solid red;
    border-collapse: collapse;
    )


    Maharashtra Elections Results
    Sr No.
    Parties
    No of seats

    1
    BJP
    104

    2
    Shiv Sena
    56

    3
    Nationalist Congress Party
    54

    4
    Congress
    44

    5
    Bahujan Vikas Aaghadi
    3

    6
    Muslimeen Prahar Janshkti party
    2


    table, th, td (
    border: 2px solid red;
    border-collapse: collapse;
    )


    Maharashtra Elections Results
    Sr No.
    Parties
    No of seats

    1
    BJP
    104

    2
    Shiv Sena
    56

    3
    Nationalist Congress Party
    54

    4
    Congress
    44

    5
    Bahujan Vikas Aaghadi
    3

    6
    Muslimeen Prahar Janshkti party
    2


    table, th, td (
    border: 2px solid red;
    border-collapse: collapse;
    )


    Maharashtra Elections Results
    Sr No.
    Parties
    No of seats

    1
    BJP
    104

    2
    Shiv Sena
    56

    3
    Nationalist Congress Party
    54

    4
    Congress
    44

    5
    Bahujan Vikas Aaghadi
    3

    6
    Muslimeen Prahar Janshkti party
    2


    table, th, td (
    border: 2px solid red;
    border-collapse: collapse;
    )


    Maharashtra Elections Results
    Sr No.
    Parties
    No of seats

    1
    BJP
    104

    2
    Shiv Sena
    56

    3
    Nationalist Congress Party
    54

    4
    Congress
    44

    5
    Bahujan Vikas Aaghadi
    3

    6
    Muslimeen Prahar Janshkti party
    2


    table, th, td (
    border: 2px solid red;
    border-collapse: collapse;
    )


    Maharashtra Elections Results
    Sr No.
    Parties
    No of seats

    1
    BJP
    104

    2
    Shiv Sena
    56

    3
    Nationalist Congress Party
    54

    4
    Congress
    44

    5
    Bahujan Vikas Aaghadi
    3

    6
    Muslimeen Prahar Janshkti party
    2


    table, th, td (
    border: 2px solid red;
    border-collapse: collapse;
    )


    Maharashtra Elections Results
    Sr No.
    Parties
    No of seats

    1
    BJP
    104

    2
    Shiv Sena
    56

    3
    Nationalist Congress Party
    54

    4
    Congress
    44

    5
    Bahujan Vikas Aaghadi
    3

    6
    Muslimeen Prahar Janshkti party
    2


    table, th, td (
    border: 2px solid red;
    border-collapse: collapse;
    )


    Maharashtra Elections Results
    Sr No.
    Parties
    No of seats

    1
    BJP
    104

    2
    Shiv Sena
    56

    3
    Nationalist Congress Party
    54

    4
    Congress
    44

    5
    Bahujan Vikas Aaghadi
    3

    6
    Muslimeen Prahar Janshkti party
    2


    table, th, td (
    border: 2px solid red;
    border-collapse: collapse;
    )


    Maharashtra Elections Results
    Sr No.
    Parties
    No of seats

    1
    BJP
    104

    2
    Shiv Sena
    56

    3
    Nationalist Congress Party
    54

    4
    Congress
    44

    5
    Bahujan Vikas Aaghadi
    3

    6
    Muslimeen Prahar Janshkti party
    2


    table, th, td (
    border: 2px solid red;
    border-collapse: collapse;
    )


    Maharashtra Elections Results
    Sr No.
    Parties
    No of seats

    1
    BJP
    104

    2
    Shiv Sena
    56

    3
    Nationalist Congress Party
    54

    4
    Congress
    44

    5
    Bahujan Vikas Aaghadi
    3

    6
    Muslimeen Prahar Janshkti party
    2


    table, th, td (
    border: 2px solid red;
    border-collapse: collapse;
    )


    Maharashtra Elections Results
    Sr No.
    Parties
    No of seats

    1
    BJP
    104

    2
    Shiv Sena
    56

    3
    Nationalist Congress Party
    54

    4
    Congress
    44

    5
    Bahujan Vikas Aaghadi
    3

    6
    Muslimeen Prahar Janshkti party
    2


    table, th, td (
    border: 2px solid red;
    border-collapse: collapse;
    )


    Maharashtra Elections Results
    Sr No.
    Parties
    No of seats

    1
    BJP
    104

    2
    Shiv Sena
    56

    3
    Nationalist Congress Party
    54

    4
    Congress
    44

    5
    Bahujan Vikas Aaghadi
    3

    6
    Muslimeen Prahar Janshkti party
    2


    table, th, td (
    border: 2px solid red;
    border-collapse: collapse;
    )


    Maharashtra Elections Results
    Sr No.
    Parties
    No of seats

    1
    BJP
    104

    2
    Shiv Sena
    56

    3
    Nationalist Congress Party
    54

    4
    Congress
    44

    5
    Bahujan Vikas Aaghadi
    3

    6
    Muslimeen Prahar Janshkti party
    2


    table, th, td (
    border: 2px solid red;
    border-collapse: collapse;
    )


    Maharashtra Elections Results
    Sr No.
    Parties
    No of seats

    1
    BJP
    104

    2
    Shiv Sena
    56

    3
    Nationalist Congress Party
    54

    4
    Congress
    44

    5
    Bahujan Vikas Aaghadi
    3

    6
    Muslimeen Prahar Janshkti party
    2


    table, th, td (
    border: 2px solid red;
    border-collapse: collapse;
    )


    Maharashtra Elections Results
    Sr No.
    Parties
    No of seats

    1
    BJP
    104

    2
    Shiv Sena
    56

    3
    Nationalist Congress Party
    54

    4
    Congress
    44

    5
    Bahujan Vikas Aaghadi
    3

    6
    Muslimeen Prahar Janshkti party
    2


    table, th, td (
    border: 2px solid red;
    border-collapse: collapse;
    )


    Maharashtra Elections Results
    Sr No.
    Parties
    No of seats

    1
    BJP
    104

    2
    Shiv Sena
    56

    3
    Nationalist Congress Party
    54

    4
    Congress
    44

    5
    Bahujan Vikas Aaghadi
    3

    6
    Muslimeen Prahar Janshkti party
    2


    table, th, td (
    border: 2px solid red;
    border-collapse: collapse;
    )


    Maharashtra Elections Results
    Sr No.
    Parties
    No of seats

    1
    BJP
    104

    2
    Shiv Sena
    56

    3
    Nationalist Congress Party
    54

    4
    Congress
    44

    5
    Bahujan Vikas Aaghadi
    3

    6
    Muslimeen Prahar Janshkti party
    2


    table, th, td (
    border: 2px solid red;
    border-collapse: collapse;
    )


    Maharashtra Elections Results
    Sr No.
    Parties
    No of seats

    1
    BJP
    104

    2
    Shiv Sena
    56

    3
    Nationalist Congress Party
    54

    4
    Congress
    44

    5
    Bahujan Vikas Aaghadi
    3

    6
    Muslimeen Prahar Janshkti party
    2


    table, th, td (
    border: 2px solid red;
    border-collapse: collapse;
    )


    Maharashtra Elections Results
    Sr No.
    Parties
    No of seats

    1
    BJP
    104

    2
    Shiv Sena
    56

    3
    Nationalist Congress Party
    54

    4
    Congress
    44

    5
    Bahujan Vikas Aaghadi
    3

    6
    Muslimeen Prahar Janshkti party
    2


    table, th, td (
    border: 2px solid red;
    border-collapse: collapse;
    )


    Maharashtra Elections Results
    Sr No.
    Parties
    No of seats

    1
    BJP
    104

    2
    Shiv Sena
    56

    3
    Nationalist Congress Party
    54

    4
    Congress
    44

    5
    Bahujan Vikas Aaghadi
    3

    6
    Muslimeen Prahar Janshkti party
    2


    table, th, td (
    border: 2px solid red;
    border-collapse: collapse;
    )


    Maharashtra Elections Results
    Sr No.
    Parties
    No of seats

    1
    BJP
    104

    2
    Shiv Sena
    56

    3
    Nationalist Congress Party
    54

    4
    Congress
    44

    5
    Bahujan Vikas Aaghadi
    3

    6
    Muslimeen Prahar Janshkti party
    2


    table, th, td (
    border: 2px solid red;
    border-collapse: collapse;
    )


    Maharashtra Elections Results
    Sr No.
    Parties
    No of seats

    1
    BJP
    104

    2
    Shiv Sena
    56

    3
    Nationalist Congress Party
    54

    4
    Congress
    44

    5
    Bahujan Vikas Aaghadi
    3

    6
    Muslimeen Prahar Janshkti party
    2


    table, th, td (
    border: 2px solid red;
    border-collapse: collapse;
    )


    Maharashtra Elections Results
    Sr No.
    Parties
    No of seats

    1
    BJP
    104

    2
    Shiv Sena
    56

    3
    Nationalist Congress Party
    54

    4
    Congress
    44

    5
    Bahujan Vikas Aaghadi
    3

    6
    Muslimeen Prahar Janshkti party
    2


    table, th, td (
    border: 2px solid red;
    border-collapse: collapse;
    )


    Maharashtra Elections Results
    Sr No.
    Parties
    No of seats

    1
    BJP
    104

    2
    Shiv Sena
    56

    3
    Nationalist Congress Party
    54

    4
    Congress
    44

    5
    Bahujan Vikas Aaghadi
    3

    6
    Muslimeen Prahar Janshkti party
    2


    table, th, td (
    border: 2px solid red;
    border-collapse: collapse;
    )


    Maharashtra Elections Results
    Sr No.
    Parties
    No of seats

    1
    BJP
    104

    2
    Shiv Sena
    56

    3
    Nationalist Congress Party
    54

    4
    Congress
    44

    5
    Bahujan Vikas Aaghadi
    3

    6
    Muslimeen Prahar Janshkti party
    2


    table, th, td (
    border: 2px solid red;
    border-collapse: collapse;
    )


    Maharashtra Elections Results
    Sr No.
    Parties
    No of seats

    1
    BJP
    104

    2
    Shiv Sena
    56

    3
    Nationalist Congress Party
    54

    4
    Congress
    44

    5
    Bahujan Vikas Aaghadi
    3

    6
    Muslimeen Prahar Janshkti party
    2


    table, th, td (
    border: 2px solid red;
    border-collapse: collapse;
    )


    Maharashtra Elections Results
    Sr No.
    Parties
    No of seats

    1
    BJP
    104

    2
    Shiv Sena
    56

    3
    Nationalist Congress Party
    54

    4
    Congress
    44

    5
    Bahujan Vikas Aaghadi
    3

    6
    Muslimeen Prahar Janshkti party
    2


    table, th, td (
    border: 2px solid red;
    border-collapse: collapse;
    )


    Maharashtra Elections Results
    Sr No.
    Parties
    No of seats

    1
    BJP
    104

    2
    Shiv Sena
    56

    3
    Nationalist Congress Party
    54

    4
    Congress
    44

    5
    Bahujan Vikas Aaghadi
    3

    6
    Muslimeen Prahar Janshkti party
    2


    table, th, td (
    border: 2px solid red;
    border-collapse: collapse;
    )


    Maharashtra Elections Results
    Sr No.
    Parties
    No of seats

    1
    BJP
    104

    2
    Shiv Sena
    56

    3
    Nationalist Congress Party
    54

    4
    Congress
    44

    5
    Bahujan Vikas Aaghadi
    3

    6
    Muslimeen Prahar Janshkti party
    2


    table, th, td (
    border: 2px solid red;
    border-collapse: collapse;
    )


    Maharashtra Elections Results
    Sr No.
    Parties
    No of seats

    1
    BJP
    104

    2
    Shiv Sena
    56

    3
    Nationalist Congress Party
    54

    4
    Congress
    44

    5
    Bahujan Vikas Aaghadi
    3

    6
    Muslimeen Prahar Janshkti party
    2


    table, th, td (
    border: 2px solid red;
    border-collapse: collapse;
    )


    Maharashtra Elections Results
    Sr No.
    Parties
    No of seats

    1
    BJP
    104

    2
    Shiv Sena
    56

    3
    Nationalist Congress Party
    54

    4
    Congress
    44

    5
    Bahujan Vikas Aaghadi
    3

    6
    Muslimeen Prahar Janshkti party
    2


    table, th, td (
    border: 2px solid red;
    border-collapse: collapse;
    )


    Maharashtra Elections Results
    Sr No.
    Parties
    No of seats

    1
    BJP
    104

    2
    Shiv Sena
    56

    3
    Nationalist Congress Party
    54

    4
    Congress
    44

    5
    Bahujan Vikas Aaghadi
    3

    6
    Muslimeen Prahar Janshkti party
    2


    table, th, td (
    border: 2px solid red;
    border-collapse: collapse;
    )


    Maharashtra Elections Results
    Sr No.
    Parties
    No of seats

    1
    BJP
    104

    2
    Shiv Sena
    56

    3
    Nationalist Congress Party
    54

    4
    Congress
    44

    5
    Bahujan Vikas Aaghadi
    3

    6
    Muslimeen Prahar Janshkti party
    2


    table, th, td (
    border: 2px solid red;
    border-collapse: collapse;
    )


    Maharashtra Elections Results
    Sr No.
    Parties
    No of seats

    1
    BJP
    104

    2
    Shiv Sena
    56

    3
    Nationalist Congress Party
    54

    4
    Congress
    44

    5
    Bahujan Vikas Aaghadi
    3

    6
    Muslimeen Prahar Janshkti party
    2


    table, th, td (
    border: 2px solid red;
    border-collapse: collapse;
    )


    Maharashtra Elections Results
    Sr No.
    Parties
    No of seats

    1
    BJP
    104

    2
    Shiv Sena
    56

    3
    Nationalist Congress Party
    54

    4
    Congress
    44

    5
    Bahujan Vikas Aaghadi
    3

    6
    Muslimeen Prahar Janshkti party
    2


    table, th, td (
    border: 2px solid red;
    border-collapse: collapse;
    )


    Maharashtra Elections Results
    Sr No.
    Parties
    No of seats

    1
    BJP
    104

    2
    Shiv Sena
    56

    3
    Nationalist Congress Party
    54

    4
    Congress
    44

    5
    Bahujan Vikas Aaghadi
    3

    6
    Muslimeen Prahar Janshkti party
    2


    table, th, td (
    border: 2px solid red;
    border-collapse: collapse;
    )


    Maharashtra Elections Results
    Sr No.
    Parties
    No of seats

    1
    BJP
    104

    2
    Shiv Sena
    56

    3
    Nationalist Congress Party
    54

    4
    Congress
    44

    5
    Bahujan Vikas Aaghadi
    3

    6
    Muslimeen Prahar Janshkti party
    2


    table, th, td (
    border: 2px solid red;
    border-collapse: collapse;
    )


    Maharashtra Elections Results
    Sr No.
    Parties
    No of seats

    1
    BJP
    104

    2
    Shiv Sena
    56

    3
    Nationalist Congress Party
    54

    4
    Congress
    44

    5
    Bahujan Vikas Aaghadi
    3

    6
    Muslimeen Prahar Janshkti party
    2


    table, th, td (
    border: 2px solid red;
    border-collapse: collapse;
    )


    Maharashtra Elections Results
    Sr No.
    Parties
    No of seats

    1
    BJP
    104

    2
    Shiv Sena
    56

    3
    Nationalist Congress Party
    54

    4
    Congress
    44

    5
    Bahujan Vikas Aaghadi
    3

    6
    Muslimeen Prahar Janshkti party
    2


    table, th, td (
    border: 2px solid red;
    border-collapse: collapse;
    )


    Maharashtra Elections Results
    Sr No.
    Parties
    No of seats

    1
    BJP
    104

    2
    Shiv Sena
    56

    3
    Nationalist Congress Party
    54

    4
    Congress
    44

    5
    Bahujan Vikas Aaghadi
    3

    6
    Muslimeen Prahar Janshkti party
    2


    table, th, td (
    border: 2px solid red;
    border-collapse: collapse;
    )


    Maharashtra Elections Results
    Sr No.
    Parties
    No of seats

    1
    BJP
    104

    2
    Shiv Sena
    56

    3
    Nationalist Congress Party
    54

    4
    Congress
    44

    5
    Bahujan Vikas Aaghadi
    3

    6
    Muslimeen Prahar Janshkti party
    2


    table, th, td (
    border: 2px solid red;
    border-collapse: collapse;
    )


    Maharashtra Elections Results
    Sr No.
    Parties
    No of seats

    1
    BJP
    104

    2
    Shiv Sena
    56

    3
    Nationalist Congress Party
    54

    4
    Congress
    44

    5
    Bahujan Vikas Aaghadi
    3

    6
    Muslimeen Prahar Janshkti party
    2


    table, th, td (
    border: 2px solid red;
    border-collapse: collapse;
    )


    Maharashtra Elections Results
    Sr No.
    Parties
    No of seats

    1
    BJP
    104

    2
    Shiv Sena
    56

    3
    Nationalist Congress Party
    54

    4
    Congress
    44

    5
    Bahujan Vikas Aaghadi
    3

    6
    Muslimeen Prahar Janshkti party
    2


    table, th, td (
    border: 2px solid red;
    border-collapse: collapse;
    )


    Maharashtra Elections Results
    Sr No.
    Parties
    No of seats

    1
    BJP
    104

    2
    Shiv Sena
    56

    3
    Nationalist Congress Party
    54

    4
    Congress
    44

    5
    Bahujan Vikas Aaghadi
    3

    6
    Muslimeen Prahar Janshkti party
    2


    table, th, td (
    border: 2px solid red;
    border-collapse: collapse;
    )


    Maharashtra Elections Results
    Sr No.
    Parties
    No of seats

    1
    BJP
    104

    2
    Shiv Sena
    56

    3
    Nationalist Congress Party
    54

    4
    Congress
    44

    5
    Bahujan Vikas Aaghadi
    3

    6
    Muslimeen Prahar Janshkti party
    2


    table, th, td (
    border: 2px solid red;
    border-collapse: collapse;
    )


    Maharashtra Elections Results
    Sr No.
    Parties
    No of seats

    1
    BJP
    104

    2
    Shiv Sena
    56

    3
    Nationalist Congress Party
    54

    4
    Congress
    44

    5
    Bahujan Vikas Aaghadi
    3

    6
    Muslimeen Prahar Janshkti party
    2


    table, th, td (
    border: 2px solid red;
    border-collapse: collapse;
    )


    Maharashtra Elections Results
    Sr No.
    Parties
    No of seats

    1
    BJP
    104

    2
    Shiv Sena
    56

    3
    Nationalist Congress Party
    54

    4
    Congress
    44

    5
    Bahujan Vikas Aaghadi
    3

    6
    Muslimeen Prahar Janshkti party
    2


    table, th, td (
    border: 2px solid red;
    border-collapse: collapse;
    )


    Maharashtra Elections Results
    Sr No.
    Parties
    No of seats

    1
    BJP
    104

    2
    Shiv Sena
    56

    3
    Nationalist Congress Party
    54

    4
    Congress
    44

    5
    Bahujan Vikas Aaghadi
    3

    6
    Muslimeen Prahar Janshkti party
    2


    table, th, td (
    border: 2px solid red;
    border-collapse: collapse;
    )


    Maharashtra Elections Results
    Sr No.
    Parties
    No of seats

    1
    BJP
    104

    2
    Shiv Sena
    56

    3
    Nationalist Congress Party
    54

    4
    Congress
    44

    5
    Bahujan Vikas Aaghadi
    3

    6
    Muslimeen Prahar Janshkti party
    2


    table, th, td (
    border: 2px solid red;
    border-collapse: collapse;
    )


    Maharashtra Elections Results
    Sr No.
    Parties
    No of seats

    1
    BJP
    104

    2
    Shiv Sena
    56

    3
    Nationalist Congress Party
    54

    4
    Congress
    44

    5
    Bahujan Vikas Aaghadi
    3

    6
    Muslimeen Prahar Janshkti party
    2


    table, th, td (
    border: 2px solid red;
    border-collapse: collapse;
    )


    Maharashtra Elections Results
    Sr No.
    Parties
    No of seats

    1
    BJP
    104

    2
    Shiv Sena
    56

    3
    Nationalist Congress Party
    54

    4
    Congress
    44

    5
    Bahujan Vikas Aaghadi
    3

    6
    Muslimeen Prahar Janshkti party
    2


    table, th, td (
    border: 2px solid red;
    border-collapse: collapse;
    )


    Maharashtra Elections Results
    Sr No.
    Parties
    No of seats

    1
    BJP
    104

    2
    Shiv Sena
    56

    3
    Nationalist Congress Party
    54

    4
    Congress
    44

    5
    Bahujan Vikas Aaghadi
    3

    6
    Muslimeen Prahar Janshkti party
    2


    table, th, td (
    border: 2px solid red;
    border-collapse: collapse;
    )


    Maharashtra Elections Results
    Sr No.
    Parties
    No of seats

    1
    BJP
    104

    2
    Shiv Sena
    56

    3
    Nationalist Congress Party
    54

    4
    Congress
    44

    5
    Bahujan Vikas Aaghadi
    3

    6
    Muslimeen Prahar Janshkti party
    2


    table, th, td (
    border: 2px solid red;
    border-collapse: collapse;
    )


    Maharashtra Elections Results
    Sr No.
    Parties
    No of seats

    1
    BJP
    104

    2
    Shiv Sena
    56

    3
    Nationalist Congress Party
    54

    4
    Congress
    44

    5
    Bahujan Vikas Aaghadi
    3

    6
    Muslimeen Prahar Janshkti party
    2


    table, th, td (
    border: 2px solid red;
    border-collapse: collapse;
    )


    Maharashtra Elections Results
    Sr No.
    Parties
    No of seats

    1
    BJP
    104

    2
    Shiv Sena
    56

    3
    Nationalist Congress Party
    54

    4
    Congress
    44

    5
    Bahujan Vikas Aaghadi
    3

    6
    Muslimeen Prahar Janshkti party
    2


    table, th, td (
    border: 2px solid red;
    border-collapse: collapse;
    )


    Maharashtra Elections Results
    Sr No.
    Parties
    No of seats

    1
    BJP
    104

    2
    Shiv Sena
    56

    3
    Nationalist Congress Party
    54

    4
    Congress
    44

    5
    Bahujan Vikas Aaghadi
    3

    6
    Muslimeen Prahar Janshkti party
    2


    table, th, td (
    border: 2px solid red;
    border-collapse: collapse;
    )


    Maharashtra Elections Results
    Sr No.
    Parties
    No of seats

    1
    BJP
    104

    2
    Shiv Sena
    56

    3
    Nationalist Congress Party
    54

    4
    Congress
    44

    5
    Bahujan Vikas Aaghadi
    3

    6
    Muslimeen Prahar Janshkti party
    2


    table, th, td (
    border: 2px solid red;
    border-collapse: collapse;
    )


    Maharashtra Elections Results
    Sr No.
    Parties
    No of seats

    1
    BJP
    104

    2
    Shiv Sena
    56

    3
    Nationalist Congress Party
    54

    4
    Congress
    44

    5
    Bahujan Vikas Aaghadi
    3

    6
    Muslimeen Prahar Janshkti party
    2


    table, th, td (
    border: 2px solid red;
    border-collapse: collapse;
    )


    Maharashtra Elections Results
    Sr No.
    Parties
    No of seats

    1
    BJP
    104

    2
    Shiv Sena
    56

    3
    Nationalist Congress Party
    54

    4
    Congress
    44

    5
    Bahujan Vikas Aaghadi
    3

    6
    Muslimeen Prahar Janshkti party
    2


    table, th, td (
    border: 2px solid red;
    border-collapse: collapse;
    )


    Maharashtra Elections Results
    Sr No.
    Parties
    No of seats

    1
    BJP
    104

    2
    Shiv Sena
    56

    3
    Nationalist Congress Party
    54

    4
    Congress
    44

    5
    Bahujan Vikas Aaghadi
    3

    6
    Muslimeen Prahar Janshkti party
    2

    Produktion:

    Eksempel 3

    Dette bruger et eksempelkode til at justere titlen til højre for tabellen med intern CSS-kode:

    Kode:


    table,
    th,
    td (
    border: 1px solid black;
    border-collapse: collapse;
    text-align: center;
    )
    .india(
    text-align: right;
    color: blue;
    font-weight: bold;
    )


    State & Capitals
    State
    Capital

    Maharashtra
    Mumbai

    Goa
    Panaji

    Assam
    Dispur

    Haryana
    Chandigarh

    Kerala
    Thriuvanthaouram


    table,
    th,
    td (
    border: 1px solid black;
    border-collapse: collapse;
    text-align: center;
    )
    .india(
    text-align: right;
    color: blue;
    font-weight: bold;
    )


    State & Capitals
    State
    Capital

    Maharashtra
    Mumbai

    Goa
    Panaji

    Assam
    Dispur

    Haryana
    Chandigarh

    Kerala
    Thriuvanthaouram


    table,
    th,
    td (
    border: 1px solid black;
    border-collapse: collapse;
    text-align: center;
    )
    .india(
    text-align: right;
    color: blue;
    font-weight: bold;
    )


    State & Capitals
    State
    Capital

    Maharashtra
    Mumbai

    Goa
    Panaji

    Assam
    Dispur

    Haryana
    Chandigarh

    Kerala
    Thriuvanthaouram


    table,
    th,
    td (
    border: 1px solid black;
    border-collapse: collapse;
    text-align: center;
    )
    .india(
    text-align: right;
    color: blue;
    font-weight: bold;
    )


    State & Capitals
    State
    Capital

    Maharashtra
    Mumbai

    Goa
    Panaji

    Assam
    Dispur

    Haryana
    Chandigarh

    Kerala
    Thriuvanthaouram


    table,
    th,
    td (
    border: 1px solid black;
    border-collapse: collapse;
    text-align: center;
    )
    .india(
    text-align: right;
    color: blue;
    font-weight: bold;
    )


    State & Capitals
    State
    Capital

    Maharashtra
    Mumbai

    Goa
    Panaji

    Assam
    Dispur

    Haryana
    Chandigarh

    Kerala
    Thriuvanthaouram


    table,
    th,
    td (
    border: 1px solid black;
    border-collapse: collapse;
    text-align: center;
    )
    .india(
    text-align: right;
    color: blue;
    font-weight: bold;
    )


    State & Capitals
    State
    Capital

    Maharashtra
    Mumbai

    Goa
    Panaji

    Assam
    Dispur

    Haryana
    Chandigarh

    Kerala
    Thriuvanthaouram


    table,
    th,
    td (
    border: 1px solid black;
    border-collapse: collapse;
    text-align: center;
    )
    .india(
    text-align: right;
    color: blue;
    font-weight: bold;
    )


    State & Capitals
    State
    Capital

    Maharashtra
    Mumbai

    Goa
    Panaji

    Assam
    Dispur

    Haryana
    Chandigarh

    Kerala
    Thriuvanthaouram


    table,
    th,
    td (
    border: 1px solid black;
    border-collapse: collapse;
    text-align: center;
    )
    .india(
    text-align: right;
    color: blue;
    font-weight: bold;
    )


    State & Capitals
    State
    Capital

    Maharashtra
    Mumbai

    Goa
    Panaji

    Assam
    Dispur

    Haryana
    Chandigarh

    Kerala
    Thriuvanthaouram


    table,
    th,
    td (
    border: 1px solid black;
    border-collapse: collapse;
    text-align: center;
    )
    .india(
    text-align: right;
    color: blue;
    font-weight: bold;
    )


    State & Capitals
    State
    Capital

    Maharashtra
    Mumbai

    Goa
    Panaji

    Assam
    Dispur

    Haryana
    Chandigarh

    Kerala
    Thriuvanthaouram


    table,
    th,
    td (
    border: 1px solid black;
    border-collapse: collapse;
    text-align: center;
    )
    .india(
    text-align: right;
    color: blue;
    font-weight: bold;
    )


    State & Capitals
    State
    Capital

    Maharashtra
    Mumbai

    Goa
    Panaji

    Assam
    Dispur

    Haryana
    Chandigarh

    Kerala
    Thriuvanthaouram


    table,
    th,
    td (
    border: 1px solid black;
    border-collapse: collapse;
    text-align: center;
    )
    .india(
    text-align: right;
    color: blue;
    font-weight: bold;
    )


    State & Capitals
    State
    Capital

    Maharashtra
    Mumbai

    Goa
    Panaji

    Assam
    Dispur

    Haryana
    Chandigarh

    Kerala
    Thriuvanthaouram


    table,
    th,
    td (
    border: 1px solid black;
    border-collapse: collapse;
    text-align: center;
    )
    .india(
    text-align: right;
    color: blue;
    font-weight: bold;
    )


    State & Capitals
    State
    Capital

    Maharashtra
    Mumbai

    Goa
    Panaji

    Assam
    Dispur

    Haryana
    Chandigarh

    Kerala
    Thriuvanthaouram


    table,
    th,
    td (
    border: 1px solid black;
    border-collapse: collapse;
    text-align: center;
    )
    .india(
    text-align: right;
    color: blue;
    font-weight: bold;
    )


    State & Capitals
    State
    Capital

    Maharashtra
    Mumbai

    Goa
    Panaji

    Assam
    Dispur

    Haryana
    Chandigarh

    Kerala
    Thriuvanthaouram


    table,
    th,
    td (
    border: 1px solid black;
    border-collapse: collapse;
    text-align: center;
    )
    .india(
    text-align: right;
    color: blue;
    font-weight: bold;
    )


    State & Capitals
    State
    Capital

    Maharashtra
    Mumbai

    Goa
    Panaji

    Assam
    Dispur

    Haryana
    Chandigarh

    Kerala
    Thriuvanthaouram


    table,
    th,
    td (
    border: 1px solid black;
    border-collapse: collapse;
    text-align: center;
    )
    .india(
    text-align: right;
    color: blue;
    font-weight: bold;
    )


    State & Capitals
    State
    Capital

    Maharashtra
    Mumbai

    Goa
    Panaji

    Assam
    Dispur

    Haryana
    Chandigarh

    Kerala
    Thriuvanthaouram


    table,
    th,
    td (
    border: 1px solid black;
    border-collapse: collapse;
    text-align: center;
    )
    .india(
    text-align: right;
    color: blue;
    font-weight: bold;
    )


    State & Capitals
    State
    Capital

    Maharashtra
    Mumbai

    Goa
    Panaji

    Assam
    Dispur

    Haryana
    Chandigarh

    Kerala
    Thriuvanthaouram


    table,
    th,
    td (
    border: 1px solid black;
    border-collapse: collapse;
    text-align: center;
    )
    .india(
    text-align: right;
    color: blue;
    font-weight: bold;
    )


    State & Capitals
    State
    Capital

    Maharashtra
    Mumbai

    Goa
    Panaji

    Assam
    Dispur

    Haryana
    Chandigarh

    Kerala
    Thriuvanthaouram


    table,
    th,
    td (
    border: 1px solid black;
    border-collapse: collapse;
    text-align: center;
    )
    .india(
    text-align: right;
    color: blue;
    font-weight: bold;
    )


    State & Capitals
    State
    Capital

    Maharashtra
    Mumbai

    Goa
    Panaji

    Assam
    Dispur

    Haryana
    Chandigarh

    Kerala
    Thriuvanthaouram


    table,
    th,
    td (
    border: 1px solid black;
    border-collapse: collapse;
    text-align: center;
    )
    .india(
    text-align: right;
    color: blue;
    font-weight: bold;
    )


    State & Capitals
    State
    Capital

    Maharashtra
    Mumbai

    Goa
    Panaji

    Assam
    Dispur

    Haryana
    Chandigarh

    Kerala
    Thriuvanthaouram


    table,
    th,
    td (
    border: 1px solid black;
    border-collapse: collapse;
    text-align: center;
    )
    .india(
    text-align: right;
    color: blue;
    font-weight: bold;
    )


    State & Capitals
    State
    Capital

    Maharashtra
    Mumbai

    Goa
    Panaji

    Assam
    Dispur

    Haryana
    Chandigarh

    Kerala
    Thriuvanthaouram


    table,
    th,
    td (
    border: 1px solid black;
    border-collapse: collapse;
    text-align: center;
    )
    .india(
    text-align: right;
    color: blue;
    font-weight: bold;
    )


    State & Capitals
    State
    Capital

    Maharashtra
    Mumbai

    Goa
    Panaji

    Assam
    Dispur

    Haryana
    Chandigarh

    Kerala
    Thriuvanthaouram


    table,
    th,
    td (
    border: 1px solid black;
    border-collapse: collapse;
    text-align: center;
    )
    .india(
    text-align: right;
    color: blue;
    font-weight: bold;
    )


    State & Capitals
    State
    Capital

    Maharashtra
    Mumbai

    Goa
    Panaji

    Assam
    Dispur

    Haryana
    Chandigarh

    Kerala
    Thriuvanthaouram


    table,
    th,
    td (
    border: 1px solid black;
    border-collapse: collapse;
    text-align: center;
    )
    .india(
    text-align: right;
    color: blue;
    font-weight: bold;
    )


    State & Capitals
    State
    Capital

    Maharashtra
    Mumbai

    Goa
    Panaji

    Assam
    Dispur

    Haryana
    Chandigarh

    Kerala
    Thriuvanthaouram


    table,
    th,
    td (
    border: 1px solid black;
    border-collapse: collapse;
    text-align: center;
    )
    .india(
    text-align: right;
    color: blue;
    font-weight: bold;
    )


    State & Capitals
    State
    Capital

    Maharashtra
    Mumbai

    Goa
    Panaji

    Assam
    Dispur

    Haryana
    Chandigarh

    Kerala
    Thriuvanthaouram


    table,
    th,
    td (
    border: 1px solid black;
    border-collapse: collapse;
    text-align: center;
    )
    .india(
    text-align: right;
    color: blue;
    font-weight: bold;
    )


    State & Capitals
    State
    Capital

    Maharashtra
    Mumbai

    Goa
    Panaji

    Assam
    Dispur

    Haryana
    Chandigarh

    Kerala
    Thriuvanthaouram


    table,
    th,
    td (
    border: 1px solid black;
    border-collapse: collapse;
    text-align: center;
    )
    .india(
    text-align: right;
    color: blue;
    font-weight: bold;
    )


    State & Capitals
    State
    Capital

    Maharashtra
    Mumbai

    Goa
    Panaji

    Assam
    Dispur

    Haryana
    Chandigarh

    Kerala
    Thriuvanthaouram


    table,
    th,
    td (
    border: 1px solid black;
    border-collapse: collapse;
    text-align: center;
    )
    .india(
    text-align: right;
    color: blue;
    font-weight: bold;
    )


    State & Capitals
    State
    Capital

    Maharashtra
    Mumbai

    Goa
    Panaji

    Assam
    Dispur

    Haryana
    Chandigarh

    Kerala
    Thriuvanthaouram


    table,
    th,
    td (
    border: 1px solid black;
    border-collapse: collapse;
    text-align: center;
    )
    .india(
    text-align: right;
    color: blue;
    font-weight: bold;
    )


    State & Capitals
    State
    Capital

    Maharashtra
    Mumbai

    Goa
    Panaji

    Assam
    Dispur

    Haryana
    Chandigarh

    Kerala
    Thriuvanthaouram


    table,
    th,
    td (
    border: 1px solid black;
    border-collapse: collapse;
    text-align: center;
    )
    .india(
    text-align: right;
    color: blue;
    font-weight: bold;
    )


    State & Capitals
    State
    Capital

    Maharashtra
    Mumbai

    Goa
    Panaji

    Assam
    Dispur

    Haryana
    Chandigarh

    Kerala
    Thriuvanthaouram


    table,
    th,
    td (
    border: 1px solid black;
    border-collapse: collapse;
    text-align: center;
    )
    .india(
    text-align: right;
    color: blue;
    font-weight: bold;
    )


    State & Capitals
    State
    Capital

    Maharashtra
    Mumbai

    Goa
    Panaji

    Assam
    Dispur

    Haryana
    Chandigarh

    Kerala
    Thriuvanthaouram


    table,
    th,
    td (
    border: 1px solid black;
    border-collapse: collapse;
    text-align: center;
    )
    .india(
    text-align: right;
    color: blue;
    font-weight: bold;
    )


    State & Capitals
    State
    Capital

    Maharashtra
    Mumbai

    Goa
    Panaji

    Assam
    Dispur

    Haryana
    Chandigarh

    Kerala
    Thriuvanthaouram


    table,
    th,
    td (
    border: 1px solid black;
    border-collapse: collapse;
    text-align: center;
    )
    .india(
    text-align: right;
    color: blue;
    font-weight: bold;
    )


    State & Capitals
    State
    Capital

    Maharashtra
    Mumbai

    Goa
    Panaji

    Assam
    Dispur

    Haryana
    Chandigarh

    Kerala
    Thriuvanthaouram


    table,
    th,
    td (
    border: 1px solid black;
    border-collapse: collapse;
    text-align: center;
    )
    .india(
    text-align: right;
    color: blue;
    font-weight: bold;
    )


    State & Capitals
    State
    Capital

    Maharashtra
    Mumbai

    Goa
    Panaji

    Assam
    Dispur

    Haryana
    Chandigarh

    Kerala
    Thriuvanthaouram


    table,
    th,
    td (
    border: 1px solid black;
    border-collapse: collapse;
    text-align: center;
    )
    .india(
    text-align: right;
    color: blue;
    font-weight: bold;
    )


    State & Capitals
    State
    Capital

    Maharashtra
    Mumbai

    Goa
    Panaji

    Assam
    Dispur

    Haryana
    Chandigarh

    Kerala
    Thriuvanthaouram


    table,
    th,
    td (
    border: 1px solid black;
    border-collapse: collapse;
    text-align: center;
    )
    .india(
    text-align: right;
    color: blue;
    font-weight: bold;
    )


    State & Capitals
    State
    Capital

    Maharashtra
    Mumbai

    Goa
    Panaji

    Assam
    Dispur

    Haryana
    Chandigarh

    Kerala
    Thriuvanthaouram


    table,
    th,
    td (
    border: 1px solid black;
    border-collapse: collapse;
    text-align: center;
    )
    .india(
    text-align: right;
    color: blue;
    font-weight: bold;
    )


    State & Capitals
    State
    Capital

    Maharashtra
    Mumbai

    Goa
    Panaji

    Assam
    Dispur

    Haryana
    Chandigarh

    Kerala
    Thriuvanthaouram


    table,
    th,
    td (
    border: 1px solid black;
    border-collapse: collapse;
    text-align: center;
    )
    .india(
    text-align: right;
    color: blue;
    font-weight: bold;
    )


    State & Capitals
    State
    Capital

    Maharashtra
    Mumbai

    Goa
    Panaji

    Assam
    Dispur

    Haryana
    Chandigarh

    Kerala
    Thriuvanthaouram


    table,
    th,
    td (
    border: 1px solid black;
    border-collapse: collapse;
    text-align: center;
    )
    .india(
    text-align: right;
    color: blue;
    font-weight: bold;
    )


    State & Capitals
    State
    Capital

    Maharashtra
    Mumbai

    Goa
    Panaji

    Assam
    Dispur

    Haryana
    Chandigarh

    Kerala
    Thriuvanthaouram


    table,
    th,
    td (
    border: 1px solid black;
    border-collapse: collapse;
    text-align: center;
    )
    .india(
    text-align: right;
    color: blue;
    font-weight: bold;
    )


    State & Capitals
    State
    Capital

    Maharashtra
    Mumbai

    Goa
    Panaji

    Assam
    Dispur

    Haryana
    Chandigarh

    Kerala
    Thriuvanthaouram

    Produktion:

    Konklusion - Billedteksttag i HTML

    Fra alle ovenstående detaljer vedrørende billedtekst forklarer udtryk, bruges dette til at give titlen til tabellen. billedtekst er indkapslet mellem mærket i tabellkroppen. Det fungerer på forskellige attributter som justering af attributter, globale attributter samt nogle begivenhedsattributter for at udløse begivenheden på billedtekstmærket.

    Anbefalede artikler

    Dette har været en guide til billedteksttag i HTML. Her diskuterer vi også deres introduktion, liste over billedteksttag og arbejde. Du kan også se på de følgende artikler for at lære mere–

    1. HTML-tabel tags
    2. Versioner af Html
    3. Html5 Nye elementer
    4. HTML-formelementer