per la creazione di righe di tabella e è per la creazione della colonna della tabella.
Sintassi
Vediamo la sintassi effettiva per la definizione del tag Caption nel codice HTML:
title text
Come mostrato sopra il tag del codice incluso in
etichetta. Dà titolo al tuo tavolo. Dopo che l'intera tabella verrà visualizzata sotto questa didascalia.
Elenco di tag didascalia in HTML
: Fornisce didascalia alla tabella
: tag racchiuso da
etichetta
: Per creare intestazione, colonna e riga di tabella
: Per impostare l'allineamento della didascalia.
Perché utilizziamo il tag didascalia in HTML?
Ogni volta che definiremo alcuni dati nel formato tabulare usando table.
Quindi, per mostrare questi dati nella tabella con un titolo univoco è il motto principale dell'utente. Questo tipo di titolo viene visualizzato con l'aiuto del tag in HTML.
Questo è racchiuso tra i tag di inizio e di fine di cui è posto dopo
etichetta. Una tabella deve avere un tag didascalia nel corpo della tabella.
Funzionamento del tag didascalia in HTML
Come in precedenza, si discute che il tag didascalia viene utilizzato con il tag Table. Viene utilizzato con diversi attributi come attributi comuni, attributi globali e attributi di eventi.
Ora vedremo come questi attributi sono utili con il funzionamento del tag didascalia:
1. align : questo attributo viene utilizzato con alcuni valori per allineare la didascalia con riferimento alla tabella. I valori inclusi in esso sono: sinistra, destra, in alto e in basso.
2. Attributi globali: gli attributi globali in HTML sono supportati dal tag.
accesskey: questo elemento funziona come scorciatoia per l'attivazione o la messa a fuoco di alcuni elementi specifici.
dir: è usato per dare la giusta direzione al testo nel contenuto dell'elemento.
class: classnames sono usati per definire css ad un elemento specifico in HTML. Si possono usare uno o due nomi di classe per un elemento particolare e dare loro proprietà css.
contenteditable: questo attributo viene utilizzato per definire il tempo che è possibile modificare o meno in un determinato elemento di contenuto.
trascinabile: viene utilizzato per definire il tempo dato che l'elemento è trascinabile o meno dall'utente.
dropzone: questo attributo è correlato all'attributo trascinabile. Viene utilizzato per copiare o spostare l'elemento quando viene rilasciato in una posizione particolare.
id: id to element viene usato per definire un nome identificativo univoco per l'elemento particolare.
lang: questo attributo nel tag utilizzato per definire la lingua in cui è scritto il contenuto. ortografia grammaticale o
Controllo ortografico: questo attributo indica che l'elemento è controllato con il suo controllo ortografico e grammaticale.
stile: questo è un attributo molto importante usato nel tag didascalia per fornire all'elemento proprietà CSS inline.
tradurre: attributo più importante per fornire dettagli di elementi come il tempo che può essere tradotto o meno.
3. Attributi dell'evento: il tag HTML gestisce anche vari attributi dell'evento, che sono i seguenti:
onafterprint: questo evento si è attivato correttamente dopo la stampa del documento.
onbeforeprint: questo tipo di script viene eseguito prima della stampa effettiva del documento.
onbeforeunload: questo script viene eseguito quando il nostro documento sta per essere scaricato.
onerror: questo attributo di evento viene eseguito quando si verifica un errore nel documento.
onload: questo script generato al completamento dell'effettivo caricamento della pagina.
onmessage: ogni volta che viene attivato un messaggio, si verifica questo evento.
Esempi
Di seguito sono riportati alcuni esempi:
Esempio 1
Ecco un esempio che mostra come verrà utilizzato esattamente il tag in HTML:
Codice:
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
Produzione:
Esempio n. 2
Ecco un altro esempio che mostra come verrà utilizzato esattamente il tag con l'attributo align con CSS inline, allineando la didascalia a sinistra:
Codice: 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
Produzione:
Esempio n. 3
Questo utilizza un tag di esempio per allineare il titolo a destra della tabella con il codice CSS interno:
Codice:
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
Produzione:
Conclusione: tag didascalia in HTML
Da tutti i dettagli di cui sopra relativi al tag didascalia spiega i termini, questo viene usato per dare il titolo alla tabella. la didascalia è racchiusa tra i tag nel corpo della tabella e funziona su diversi attributi come quelli di allineamento, attributi globali e alcuni attributi di evento per attivare l'evento sul tag di didascalia.
Articoli consigliati
Questa è stata una guida al tag didascalia in HTML. Qui discutiamo anche della loro introduzione, elenco dei tag di didascalia e funzionamento. Puoi anche dare un'occhiata ai seguenti articoli per saperne di più–
Tag tabella HTML
Versioni di HTML
Html5 Nuovi elementi
Elementi del modulo HTML