Pealdise silt HTML-is - Tiitripildi kasutamine HTML-is koos näidetega

Lang L: none (table-of-contents):

Anonim

HTML-i pealdise sildi sissejuhatus

HTML-i pealdise silti kasutatakse tabeliga. Seda kasutatakse tabeli pealkirja tähistamiseks. silti kasutatakse täpselt pärast

silt. Korraga saab kasutada ainult ühte pealdise märgendit. Tänu CSS-ile mahub tabel reageerivas veebidisaini vormingus.

silti kasutatakse tabeli korpuses. Seda kasutatakse esimese sildina pärast

silt.
on erinevate siltide kombinatsioon nagu tabeliridade loomiseks ja
. Nende siltide hulgas silt on oluline tabeli loomisel, mida kasutatakse tabeli pea loomiseks,
on tabeli veeru loomiseks.

Süntaks

  • Vaatame tegeliku süntaksi HTML-koodis pealdise sildi määratlemiseks:

title text

  • Nagu ülal näidatud, sisestatud koodisilt silt. See annab teie lauale pealkirja. Pärast seda kuvatakse selle pealdise all terve tabeli andmed.

    Pealdiste siltide loend HTML-is

    • : Andke lauale pealdis
    : silt lisatud
    silt
  • : Tabeli pea, veeru ja rea ​​loomiseks
  • : Subtiitrite joondamise seadmiseks.
  • Miks me kasutame HTML-is pealdise silti?

    • Alati, kui kavatseme määratleda mõned andmed tabelina, kasutades tabelit.
    • Seega on kasutaja peamiseks motoks nende andmete kuvamine tabelis koos mõne ainulaadse pealkirjaga. Sellist pealkirja kuvatakse HTML-i sildi abil.
    • See on suletud pärast seda asetatud alguse ja lõpu sildi vahele
    silt. Ühel tabelil peab tabeli kehas olema üks pealdise silt.

    Pealdise sildi kasutamine HTML-is

    Nagu varem arutleti, kasutatakse pealdise märgendit tabelisildiga. Seda kasutatakse koos erinevate atribuutidega, nagu tavalised atribuudid, globaalsed atribuudid ja sündmuse atribuudid.

    Nüüd näeme, kuidas need atribuudid on tiitrite sildi kasutamisel abiks:

    1. joondamine : seda atribuuti kasutatakse mõne väärtusega pealdise joondamiseks tabeliga. Sellesse kaasatud väärtused on järgmised: vasak, parem, ülemine ja alumine.

    2. Globaalsed atribuudid : HTML-i globaalseid atribuute toetab silt.

    • accesskey: see element töötab otseteena mõne konkreetse elemendi aktiveerimiseks või fokuseerimiseks.
    • dir: seda kasutatakse teksti õige suuna andmiseks elemendi sisus.
    • klass: klassinimesid kasutatakse HTML-i konkreetse elemendi css määratlemiseks. Konkreetse elemendi jaoks võib kasutada ühte või kahte klassinime ja anda neile css-omadused.
    • Contenteditable: Seda atribuuti kasutatakse ilmastiku määratlemiseks, mida antud sisuelemendis saab muuta või mitte.
    • lohistatav: seda kasutatakse ilmastiku määratlemiseks, kuna element on kasutaja poolt lohistatav või mitte.
    • dropzone: see atribuut on seotud lohistatava atribuudiga. Seda kasutatakse elemendi kopeerimiseks või teisaldamiseks, kui see langeb konkreetsesse kohta.
    • id: elementi id kasutatakse konkreetse elemendi kordumatu identifitseerimisnime määratlemiseks.
    • lang: seda märgendis olevat atribuuti, mille abil määratletakse sisu, milles sisu kirjutatakse. grammatiliselt või
    • Õigekirja kontroll: see atribuut väidab, et elementi kontrollitakse õigekirjaga ja grammatiliselt.
    • stiil: see on subtiitrite sildis kasutatav väga oluline atribuut elemendi CSS-i omaduse pakkumiseks.
    • tõlkimine: kõige olulisem atribuut, et anda detaile elemendi kohta, näiteks ilma, kas seda saab tõlkida või mitte.

    3. Sündmuse atribuudid: HTML-märgend haldab ka mitmesuguseid sündmuse atribuute, need on järgmised:

    • onafterprint: see sündmus käivitatakse pärast dokumendi printimist edukalt.
    • onbeforeprint: selline skript käivitatakse enne dokumendi tegelikku printimist.
    • onbeforeunload: see skript käivitatakse siis, kui meie dokument laaditakse alla.
    • tõrge: see sündmuse atribuut täidetakse, kui dokumendis ilmneb viga.
    • laadimine: see skript genereeritakse lehe tegeliku laadimise lõppedes.
    • teade: kui teade käivitatakse, toimub see sündmus.

    Näited

    Allpool on toodud mõned näited:

    Näide nr 1

    Siin on näide, mis näitab, kuidas märksõna HTML-i täpselt kasutatakse:

    Kood:


    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

    Väljund:

    Näide 2

    Siin on veel üks näide, mis näitab, kuidas täpselt silti hakatakse kasutama atribuudi joondamiseks CSS-is atribuudiga joondades vasakul pealkirja:

    Kood:

    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

    Väljund:

    Näide 3

    See kasutab näitesilti, et joondada tabeli paremal olev pealkiri sisemise CSS-koodiga:

    Kood:


    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

    Väljund:

    Järeldus - pealdise silt HTML-is

    Kõigist ülaltoodud pealdise sildi üksikasju selgitavatest mõistetest kasutatakse seda tabeli pealkirja andmiseks. pealdis on sildi vahel suletud tabeli korpusesse. See toimib erinevate atribuutide korral, näiteks joonda atribuute, globaalseid atribuute ja ka mõnda sündmuse atribuuti, et sündmus tiitrite sildil käivitada.

    Soovitatavad artiklid

    See on HTML-is pealdise sildi juhend. Samuti arutame siin nende tutvustamist, pealdiste sildi loendit ja töötamist. Võite lisateabe saamiseks vaadata ka järgmisi artikleid -

    1. HTML-tabeli sildid
    2. HTML-i versioonid
    3. Html5 uued elemendid
    4. HTML-vorminguelemendid