HTML Text Formatting | Comments in HTML 5.0 with Video Lecture
HTML Text Formatting | Comments in HTML 5
In this lecture, we are going to discuss “HTML Text Formatting | commentsâ€. In the previous tutorials, we discussed “HTML headings and its importanceâ€.
HTML Text Formatting
HTML defines the different style of Text Formatting and every single Element have a special meaning. Like, <b> Elements in used to define Bold text and <i> Elements is used to define Italic text. HTML contains many elements to use in text formatting.
HTML Comments
In the Source Code, Comments is used to write the description. It is much helpful to read the source code. Comments in HTML start with   <!–  Elements and End with –>. Browser ignores the comments at runtime. The Browser does not show it in the output result. You can also use multiline comments in HTML.
The source code of Text Formatting | Comments
<!DOCTYPE html> <html> <head> <title>Text Formatting</title> </head> <body> <!-- This is Comments --> <!--Bold Text --> <b> This is <mark>Bold</mark> text </b><br> <!-- Italic Text --> <i> This is Italic Text </i><br> <!-- Strong Text --> <strong> This is strong Text </strong><br> <!-- To Show Deleted Text --> <p> This <del>text</del> is Deleted </p><br> <!-- Superscripts --> <p> This is <sup>superscripts</sup> text </p> <!-- Subscripts --> <p> This is <sub>suberscripts</sub> text </p> </body> </html>
Detailed of Example Program
[mks_pullquote align=”left” width=”848″ size=”15″ bg_color=”#83d648″ txt_color=”#ffffff”]Bold Text in HTML
The HTML Tag <b> is used to define bold Text, and have no extra priority.
<b> This is Bold text </b>
Output: This Bold text
[/mks_pullquote] [mks_pullquote align=”left” width=”848″ size=”15″ bg_color=”#d8c047″ txt_color=”#2d2d2d”]Italic Text in HTML
<i> Elements is used to define Italic Text.
<i> This is italic Text </i>
Output: This is italic Text
[/mks_pullquote] [mks_pullquote align=”left” width=”848″ size=”15″ bg_color=”#83d648″ txt_color=”#ffffff”]Strong Text in HTML
The HTML Tag <strong> is used to define strong Text, and have some semantic extra priority.
<b> This is Bold text. </b>
Output: This strong text.
Deleted Text in HTML
The HTML Tag <del> is used to define Deleted Text.
<p> This  <del> text </del> is deleted. </p>
Output: This  text is deleted.
[/mks_pullquote] [mks_pullquote align=”left” width=”848″ size=”15″ bg_color=”#83d648″ txt_color=”#ffffff”]SuperScripts Text in HTML
The HTML Tag <sup> is used to define superscripts Text.
<p> This  <sup> text </sup> is superscripts. </p>
Output: This  text is superscripts.
[/mks_pullquote] [mks_pullquote align=”left” width=”848″ size=”15″ bg_color=”#d8c047″ txt_color=”#2d2d2d”]SubScripts Text in HTML
The HTML Tag <sub> is used to define subscripts Text.
<p> This  <sub> text </sub> is subscripts. </p>
Output: This  text is subscripts.
[/mks_pullquote]To get the list of Text formatting Elements, write simple query at your search engine as “HTML Text Formatting Listâ€.
HTML Text Formatting and Comments LEC 7 in Urdu/Hindi
I hopeful, this article is very helpful to understand the basic concept of “HTML Text Formatting | Comments “. You can also learn about CSS3, PHP7, and Computer Graphic. Give your Feedback. Thanks.
Hello, I want to subscribe for this webpage to take most up-to-date updates, so where can i do it please help.
Please, You can submit your email.
A fascinating discussion is definitely worth comment.
I do think that you need to publish more on this topic,
it may not be a taboo subject but typically people don’t talk about such issues.
To the next! Cheers!! Thanks
Hi my friend! I wish to say that this article is awesome, nice written and include almost
all vital infos. I’d like to see more posts
like this .
This website was… how do you say it? Relevant!! Finally I’ve found something which helped me.
Cheers!
hello there and thank you for your info – I have definitely picked up something new
from right here. I did however expertise several technical issues using this web site, since I experienced to reload the
site a lot of times previous to I could get it to load
properly. I had been wondering if your hosting is OK?
Not that I am complaining, but slow loading instances times will often affect your
placement in google and could damage your quality score if advertising and marketing
with Adwords. Anyway I’m adding this RSS to my e-mail and can look out for a lot more of your respective interesting content.
Ensure that you update this again soon.
Real instructive and excellent body structure of subject matter, now that’s user pleasant (:.
Hi, just came across this article. Its a great illustration of how small to medium sized firms can use Awards based advertising to get their companies recognised on the 1st page of Google. Awards programmes offer many benefits to participants.