HTML SIMPLIFIED: HTML Simplified And Turned To Fun (Web Development Simplified Book 1) by Marcus O.A

HTML SIMPLIFIED: HTML Simplified And Turned To Fun (Web Development Simplified Book 1) by Marcus O.A

Author:Marcus, O.A. [Marcus, O.A.]
Language: eng
Format: epub
Published: 2021-01-28T16:00:00+00:00


Try removing src to see how alt works.

This might have provided you with a clearer picture.

The style attribute

The style attribute does the final touch up of the HTML elements, it lets you change, or add different styles to it. It can be in form of background colour, size etc.

There is a simple syntax:

style=”property:value”

The property implies basic colour, the font-size gives the property of an element

This is how the changed text looks.

PS: it’s a generic attribute and can be used with any of the html tags. Don’t get confused, its similar to changing colours and size in a Word document, but by using HTML.

Try doing this.

Ready to change the background colour?

Hint: property: background-colour changes the background colour of the text



Download



Copyright Disclaimer:
This site does not store any files on its server. We only index and link to content provided by other sites. Please contact the content providers to delete copyright contents if any and email us, we'll remove relevant links or contents immediately.