Saturday, 21 September 2024

HTML STYLES

 HTML STYLES


Try the following Exercises!

TO INCREASE FONT SIZE

h1 represents the heading while Paragraph (P)

<h1 style = "font-size: 300%;"> Christ is the King </h1>

<P style = "font-size: 160%;"> Jesus Saves </p>


TO SELECT FONT TYPE

h1 represents the heading while Paragraph (P)

<h1 style = "font-Family:  Verdana;"> Christ is the King </h1>

<P style = "font-family: Courier;"> Jesus Saves </p>


TO ALIGN LEFT, CENTER OR RIGHT

<h1 style = "Text-align:  Right;"> Christ is the King </h1>

<P style = "Text-align: Right;"> Jesus Saves </p>


TO COLOR YOUR TEXT

<h1 style = "color: purple;"> Christ is the King </h1>

<P style = "color: purple;"> Jesus Saves </p>



No comments:

Post a Comment

HTML BUTTONS WITH STYLE

 <html> <head> <style> .button {   display: inline-block;   padding: 15px 25px;   font-size: 24px;   cursor: pointer;   te...