HTML Strings
Page 1 of 1
HTML Strings
In this lesson we want to add some simple effects on texts. As we have in writing programs we can have the texts in Bold, Italic, Underline, Strikethrough, superscripted, subscripted modes. In html we do all things with tags, so the web browser understands what it should do for texts between the tags in view time.
We can use these effects together just by adding them after each other. For example:In Notepad We Write
Shown in Web Browser as
This is Bold!
This is Bold!
This is Italic!
This is Italic!
This is Underlined!
This is Underlined!This is Striked Through
This is Striked Through
This is Superscripted
This is Superscripted
This is Subscripted
This is Subscripted
And we can end one effect and left others for rest of the text. Here are examplesIn Notepad We Write
Shown in Web Browser as
This is Bold & Italic!
This is Bold & Italic!We Have 4 Effects Here!
We Have 4 Effects Here!
In Notepad We Write
Shown in Web Browser as
Starting With Bold & Italic, Bold is Finished But Italic Remained!
Starting With Bold & Italic, Bold is Finished But Italic Remained!
We Bold all But Here Underlined in the Sentence.
We Bold all But Here Underlined in the Sentence.
An example of subscripted Text
An example of subscripted Text
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum