Huwebes, Disyembre 27, 2018

how to specify font size using internal stylesheet

How to Specify font size using internal stylesheet:

1.) Open NOTEPAD
2.)  Type the following codes:

<head>
<style type="text/css">
body{font-size:100%;}
h1{font-size:2.5em;}
h3{font-size:130%;}
#sentence1{font-size:16px;}
#sentence2{font-size:x-small;}
</style>
</head>
<body>
<h1>This heading is 2.5em relative to the body tag.</h1>
<h3>This Sub-heading is a percent larger than the body tag.</h3>
<id="sentence1">This sentence has fixed sized of 16 pixels.</id>
<id="sentence2">This sentence is extra small relative to the body tag.</id>
</body>

3.) Save the file and open your browser to test it.

     Example output:













49 (na) komento:

  1. Wowww!! I'm definitely gonna visit one of these places someday๐Ÿ˜†๐Ÿ‘

    TumugonBurahin
  2. I already visited camiguin! Maybe palawan or boracay will be next.

    TumugonBurahin
  3. Philippines is amazing! I would like to visit all of them soon.

    TumugonBurahin
  4. Nothing beats the beaches in the Philippines! It's more fun in our country eyyyy!

    TumugonBurahin
  5. All this tourist destinations were too overwhelming but theres onli one place giggled me the most...the El Nido palawan..

    *--It was too Informative!!๐Ÿ˜…๐Ÿ˜†

    TumugonBurahin
  6. Nice beaches! I hope I can go there soon!!

    TumugonBurahin
  7. amazing, nice blog, it's more fun in the Philippines!

    TumugonBurahin
  8. Hope to visit these places in the future. : )

    TumugonBurahin
  9. These places will be added in my bucket list๐Ÿ˜†๐Ÿ‘

    TumugonBurahin
  10. #WowPhilippines! ๐Ÿ˜ If given a chance and especially if there will be a budget for it I would like to visit all those places ๐Ÿ˜๐Ÿ˜

    TumugonBurahin
  11. I'ts more fun in the Philippinessss

    TumugonBurahin
  12. Im inlove with this places๐Ÿ˜

    TumugonBurahin
  13. I'm gonna crossed out 3 beaches from your list as Palawan and Camiguin is in our bucket list this summer and I will have the opportunity to affirm their beauty. Thank you for this Christian. I love your blog as I and my mom is into traveling a lot.

    TumugonBurahin
  14. Philippines is the home of the most beautiful beaches

    TumugonBurahin
  15. I will go to all of this places nx time

    TumugonBurahin
  16. Nice, I want to go there this summer

    TumugonBurahin

how to specify font size using internal stylesheet

How to Specify font size using internal stylesheet: 1.) Open  NOTEPAD 2.)  Type the following codes: <head> <style type...