Warning: session_set_cookie_params(): Cannot change session cookie parameters when headers already sent in /www/html/info/auth.php on line 92

Warning: session_start(): Cannot start session when headers already sent in /www/html/info/auth.php on line 93

Warning: Use of undefined constant MY_NONE - assumed 'MY_NONE' (this will throw an Error in a future version of PHP) in /www/html/info/template.php on line 2

Warning: Use of undefined constant MY_STR - assumed 'MY_STR' (this will throw an Error in a future version of PHP) in /www/html/info/template.php on line 4

Warning: Use of undefined constant MY_VAR - assumed 'MY_VAR' (this will throw an Error in a future version of PHP) in /www/html/info/template.php on line 5

Warning: Use of undefined constant MY_ARR - assumed 'MY_ARR' (this will throw an Error in a future version of PHP) in /www/html/info/template.php on line 6

Warning: Use of undefined constant MY_FN - assumed 'MY_FN' (this will throw an Error in a future version of PHP) in /www/html/info/template.php on line 8

Warning: Use of undefined constant MY_FNH - assumed 'MY_FNH' (this will throw an Error in a future version of PHP) in /www/html/info/template.php on line 9

Warning: Use of undefined constant MY_TMPL - assumed 'MY_TMPL' (this will throw an Error in a future version of PHP) in /www/html/info/template.php on line 10

Warning: Use of undefined constant MY_TMPLH - assumed 'MY_TMPLH' (this will throw an Error in a future version of PHP) in /www/html/info/template.php on line 11

Warning: Use of undefined constant MY_DROP - assumed 'MY_DROP' (this will throw an Error in a future version of PHP) in /www/html/info/template.php on line 13
HTML gyakorlat

Notice: Undefined index: main in /www/html/info/template.php on line 221

HTML gyakorlat

HTML bevezető példákkal

  1. Készíts egy HTML fájlt, és helyezd el benne a négy szükséges tag párt! (<html> </html>, <head> </head>, <title> </title>, <body> </body>) Az oldal címe a te saját neved legyen!
  2. Az oldal törzsének (<body> </body> közt) tetején írd be a neved, és formázd meg, hogy címsor legyen! (<h1> </h1>)
  3. A HTML törzsében készíts két alcímet: "Külső" és "Belső" néven! (<h2> </h2>)
  4. A "Külső" fejezetben hozz létre egy táblázatot (<table> ... </table>)! Legyen benne négy sor (<tr> ... </tr>), minden sorban két-két cella (<td> ... </td>)! A baloldali cellákban rendre a "magasság", "testsúly", "hajszín", "szemszín" szavak szerepeljenek félkövéren (<b> </b>)! A jobboldali cellákat töltsd ki értelemszerűen!
  5. A "Belső" fejezetben készíts két al-alcímet (<h3> </h3>) "Ilyen vagyok" és "Ezeket szeretem" névvel!
  6. Mindkét fejezetben készíts egy-egy felsorolást (<ul> </ul>) legalább három-három elemmel (<li> </li>)!
  7. Másolj egy képet, amin látható vagy, a HTML fájlod mappájába! Illeszd be a képet a cím és ez első alcím közé! (<img src="" alt="" />)