Saturday, 22 December 2018

In this blog you will know and learn how to create a styling text with CSS and HTML.

Learning 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:x-small;}
</style>
</head>
<body>
<h1> This is my blog</h1>
<h3> You can do it</h3>
<id="sentence1">Be kind</id>
</body>

3.) Save the file and you open your browser to test it:
Example Output:


Learning how to insert the inline span:

1.) Open NOTEPAD
2.) In the head section of your document, insert an internal style sheet.Type the following code below:
     <style type="text/css">
                    .emphasis{font-style:italic;font-weight:bold;}
     </style>
3.) Insert <span class="emphasis"> to every word indicated below, and enclose it with a </span> tag.
4.) Save your documents as inline span.html.
5.) Test the document in a browser.

     Example code:

<head>
<style type="text/css">
.emphasis{font-style:italic;font-weight:bold;}
</style>
</head>
<body>
<p><span class="emphasis">Climate Change</span> is a long term shift in the climate of a specific
location, region or planet.</p>
<p><span class="emphasis">Climate Change</span> occurs when the climate of a specific
area or planet is altered between two different periods of time.</p>
</body>

 Example output:





67 comments:

  1. Woah! Now, I appreciate how beautiful an island is!

    ReplyDelete
  2. Good for pictorials๐Ÿ’–๐Ÿ’–

    ReplyDelete
  3. wish i could have a date at samoa๐Ÿ˜๐Ÿ˜๐Ÿ˜

    ReplyDelete
  4. good job el...๐Ÿ‘๐Ÿ‘๐Ÿ‘

    ReplyDelete
  5. ๐Ÿ˜ฎ๐Ÿ˜ฎ๐Ÿ˜ฎ๐Ÿ˜ฎ

    ReplyDelete
  6. Fantastic ate el๐Ÿ˜๐Ÿ˜ฎ๐Ÿ˜˜

    ReplyDelete
  7. It's so amazing๐Ÿ˜

    ReplyDelete
  8. I really like it...So interesting!

    ReplyDelete
  9. Wish I can visit all of those islands.

    ReplyDelete
  10. This comment has been removed by the author.

    ReplyDelete
  11. its so nice. i want to go to Whitsunday but i don't have enough money. so poor i am.

    ReplyDelete
  12. I want to spend my summer in these islands

    ReplyDelete
  13. Smells like vacation is on the way!

    ReplyDelete
  14. Woooowww.. amazing.. nice more

    ReplyDelete
  15. I think I should start the so called 'drop-a-coin'๐Ÿคฃ

    ReplyDelete
  16. Added to my bucket list!!!! ๐Ÿ˜†๐Ÿ’ฏ

    ReplyDelete
  17. Nice! Gave me an idea on what islands to visit soon.

    ReplyDelete
  18. Wow i wish i could go there

    ReplyDelete
  19. ๐Ÿ˜๐Ÿ˜๐Ÿ˜

    ReplyDelete
  20. That Santorini, Greece was the setting of MAMMA MIA! it was wonderful there and it has this feels that can let you imagine the DANCING QUEEN by ABBA performed by the cast.

    ReplyDelete
  21. IT'S MORE FUN IN THE PHILIPPINES

    ReplyDelete
  22. hope to go there with my family soon

    ReplyDelete

In this blog you will know and learn how to create a styling text with CSS and HTML. Learning how to Specify font size using internal s...