0

change colors

how can i change colors in html code

21st Aug 2017, 2:24 PM
mohannad
mohannad - avatar
6 Antworten
+ 3
In CSS color property you can see The HTML: <h1>This is a heading</h1> <p class="example">This is a paragraph</p> The CSS: h1 { color: #0000FF; } p.example { color: rgb(255,0,0); }
22nd Aug 2017, 11:56 AM
Daniel
Daniel - avatar
0
Do you want to give color to some specific part since begining or do you want to change color in real time?
22nd Aug 2017, 4:54 AM
Daniel
Daniel - avatar
0
i want to change color of specific word or sentence
22nd Aug 2017, 11:39 AM
mohannad
mohannad - avatar
0
In the SL HTML course and CSS explain about it
22nd Aug 2017, 11:47 AM
Daniel
Daniel - avatar
0
ok thanks
22nd Aug 2017, 11:49 AM
mohannad
mohannad - avatar
0
In HTML colors for example you can check that code <html> <head> <title>first page</title> </head> <body bgcolor="#000099"> <h1> <font color="#FFFFFF"> White headline </font> </h1> </body> </html>
22nd Aug 2017, 11:50 AM
Daniel
Daniel - avatar