12
TAIMOOR ALI ROLL.NO BITM-F14-046

Html tags slides 2016

Embed Size (px)

Citation preview

Page 1: Html tags slides 2016

TAIMOOR ALIROLL.NOBITM-F14-046

Page 2: Html tags slides 2016
Page 3: Html tags slides 2016

META TAG

<html><head><title>Meta Refresh Example</title><meta http-equiv="refresh"

content="5;url=/html_5/tags/html_meta_tag_example.cfm" />

</head><body style="background-color:red;"><p>o baba wait 5 mint...</p></body></html>

Page 4: Html tags slides 2016
Page 5: Html tags slides 2016
Page 6: Html tags slides 2016

HTML <optgroup> TagThe <optgroup> is used to group related options in a drop-down list.

If you have a long list of options, groups of related options are easier to handle for a user.

Page 7: Html tags slides 2016

<!DOCTYPE html><html><body>

<select> <optgroup label="computer Teacher"> <option value="sir Hafeez">sir Hafeez</option> <option value="sir Asgar">sir Asgar</option> <option value="sir shahzad">sir shahzad</option> <option value="sir zahid">sir zahid</option> <option value="sir waleed">sir waleed</option> </optgroup> <optgroup label="other teacher"> <option value="sir inam">sir inam</option> <option value="sir zeeshan">sir zeeshan</option> <option value="sir atif">sir atif</option> </optgroup></select> </body></html>

Page 8: Html tags slides 2016
Page 9: Html tags slides 2016

<!DOCTYPE html><html><body>

<form> <fieldset> <legend>Personalia:</legend> Name: <input type="text"><br> Email: <input type="text"><br> Date of birth: <input type="text"> </fieldset></form>

</body></html>

Page 10: Html tags slides 2016
Page 11: Html tags slides 2016

<!DOCTYPE html><html><body>

<form> <legend>Personalia:</legend> Name: <input type="text"><br> Email: <input type="text"><br> Date of birth: <input type="text"> </form>

</body></html>

Page 12: Html tags slides 2016