Formatting text in HTML

Formatting text in HTML

What are the tags in HTML to format text?

View Answers

March 14, 2011 at 5:20 PM

There are so many tags available with HTML that supports text formatting in HTML. See below ..

<B> - Bold the text
- New Line

- paragraph, You can also align the paragraph into left, right or center. for exxample

<P ALIGN="LEFT">

You can also use other tags like ..

<P><S>This text will be crossed out <P>E = MC<SUP>2 <P>C + O<SUB>2 --> CO<SUB>2 <P><U>This is important!


March 14, 2011 at 5:24 PM

HTML:

  Hi!<br> for new Line
        <b> bold Text</b><br>
        <p>This is paragraph </p> paragraph<br>
        <P><S>This text will be crossed out</S>
        <P>E = MC<SUP>2</SUP>
        <P>C + O<SUB>2</SUB> --> CO<SUB>2</SUB>
        <P><U>This is important!</U>

output:

   Hi!<br> for new Line
    <b> bold Text</b><br>
    <p>This is paragraph </p> paragraph<br>
    <P><S>This text will be crossed out</S>
    <P>E = MC<SUP>2</SUP>
    <P>C + O<SUB>2</SUB> --> CO<SUB>2</SUB>
    <P><U>This is important!</U>

March 14, 2011 at 5:25 PM

Hi!
for new Line bold Text

This is paragraph

paragraph
<P><S>This text will be crossed out <P>E = MC<SUP>2 <P>C + O<SUB>2 --> CO<SUB>2 <P><U>This is important!


March 15, 2011 at 6:13 PM

Hi, for predifined text u can use

 I   N   D   I   A 

to hide or show a particular thing









Related Tutorials/Questions & Answers:
Formatting text in HTML
Formatting text in HTML  What are the tags in HTML to format text
text formatting tag in HTML
text formatting tag in HTML  What are the various text formatting tag in HTML
Advertisements
formatting tag in HTML
formatting tag in HTML  What are the various text formatting tag in HTML
HTML text tag
HTML text tag   How to wrap text in HTML code without changing the text format
html text linking
html text linking  How to link a text in HTM?   Link text for example... <a href="http://www.roseindia.net/">RoseIndia Tutorials</a>
centre text html
centre text html  centre text HTML - How to centre any field in HTML Page   <!DOCTYPE html> <html lang="de"> <head>...; html, body { height: 100%; margin: 0; padding
HTML - Text Size
HTML - Text Size Description : The size is a attributes of font tag of html. It specifies the size of text. Syntax: <font size="4"> Bharat singh</font> Code : <!DOCTYPE html PUBLIC "-//W3C//DTD
Text Area in HTML
Text Area in HTML       Text  Area in HTML is used to write unlimited number of text... is used to create a text area in HTML page.  ADS_TO_REPLACE_2  
ModuleNotFoundError: No module named 'html-text'
ModuleNotFoundError: No module named 'html-text'  Hi, My Python... 'html-text' How to remove the ModuleNotFoundError: No module named 'html... have to install padas library. You can install html-text python with following
ModuleNotFoundError: No module named 'html_to_text'
ModuleNotFoundError: No module named 'html_to_text'  Hi, My Python... 'html_to_text' How to remove the ModuleNotFoundError: No module named 'html_to_text' error? Thanks   Hi, In your python
Text Field in HTML
Text Field in HTML       The Text Field in HTML are one line areas, which enable the user... of  component is a text field.ADS_TO_REPLACE_2 The code is saved with .html
regarding out put display in html text field
regarding out put display in html text field  how to dispaly the output coming from servlet in a particular text field of html
ModuleNotFoundError: No module named 'odoo10-addon-html-text'
ModuleNotFoundError: No module named 'odoo10-addon-html-text'  Hi...: No module named 'odoo10-addon-html-text' How to remove the ModuleNotFoundError: No module named 'odoo10-addon-html-text' error? Thanks   Hi
ModuleNotFoundError: No module named 'odoo11-addon-html-text'
ModuleNotFoundError: No module named 'odoo11-addon-html-text'  Hi...: No module named 'odoo11-addon-html-text' How to remove the ModuleNotFoundError: No module named 'odoo11-addon-html-text' error? Thanks   Hi
ModuleNotFoundError: No module named 'odoo12-addon-html-text'
ModuleNotFoundError: No module named 'odoo12-addon-html-text'  Hi...: No module named 'odoo12-addon-html-text' How to remove the ModuleNotFoundError: No module named 'odoo12-addon-html-text' error? Thanks   Hi
ModuleNotFoundError: No module named 'odoo9-addon-html-text'
ModuleNotFoundError: No module named 'odoo9-addon-html-text'  Hi...: No module named 'odoo9-addon-html-text' How to remove the ModuleNotFoundError: No module named 'odoo9-addon-html-text' error? Thanks   Hi
ModuleNotFoundError: No module named 'odoo10-addon-html-text'
ModuleNotFoundError: No module named 'odoo10-addon-html-text'  Hi...: No module named 'odoo10-addon-html-text' How to remove the ModuleNotFoundError: No module named 'odoo10-addon-html-text' error? Thanks   Hi
ModuleNotFoundError: No module named 'odoo11-addon-html-text'
ModuleNotFoundError: No module named 'odoo11-addon-html-text'  Hi...: No module named 'odoo11-addon-html-text' How to remove the ModuleNotFoundError: No module named 'odoo11-addon-html-text' error? Thanks   Hi
ModuleNotFoundError: No module named 'odoo12-addon-html-text'
ModuleNotFoundError: No module named 'odoo12-addon-html-text'  Hi...: No module named 'odoo12-addon-html-text' How to remove the ModuleNotFoundError: No module named 'odoo12-addon-html-text' error? Thanks   Hi
ModuleNotFoundError: No module named 'odoo8-addon-html-text'
ModuleNotFoundError: No module named 'odoo8-addon-html-text'  Hi...: No module named 'odoo8-addon-html-text' How to remove the ModuleNotFoundError: No module named 'odoo8-addon-html-text' error? Thanks   Hi
Convert Text to HTML
Convert Text to HTML       In this section, We are discussing the conversion of text into html file .This program functionally provides you converting text to html file by using
Copy text file in a HTML form.
Copy Text File in a HTML form For copying a text file from one source to other destination in HTML form, you will have to create a HTML form and call the form...;/title> <meta http-equiv="Content-Type" content="text/html
Create an HTML file AddCookies.html which contains four text boxes
Create an HTML file AddCookies.html which contains four text boxes  Create an HTML file AddCookies.html which contains four text boxes .When user enters the values in these text boxes and press the submit button, the values
Drop-down text selection in jsp/html
Drop-down text selection in jsp/html  Hi, I am trying to create JSP page where I have two drop-downs. There are two-sets of data - First set Categories- Movies, Books, Music and the Second set Genres- Action,Comedy,Romantic
Fetched Record from database show into text field of html page
Fetched Record from database show into text field of html page  hi, i..., and also have html page with all above mentioned field i have submit 20 record from front end of html file to my database like that 001 sajal Noida North 002
How to Validate dynamically created text box in HTML using Javascript
How to Validate dynamically created text box in HTML using Javascript  Here is the HTML code to create text boxes dynamically. It works properly.... And also how to validate the text boxes created dynamically. <html>
< problem in XSL formatting
to generate the output in XML format. but the data is having HTML formatting. So i am... is having < but it is replacing with < but i want < in xml file for my HTML formatting with out any encoding. How can we restict the encoding of <
formatting program
formatting program  Hi I needs some help with this program on formating can anyone help?The details of the program are stated below, thanks. This program should be an example of how Java lets you format numbers and strings
upload the text file through html and insert those data into the table
upload the text file through html and insert those data into the table  i want to take input form a text file.there is a table in database oracle... into table.now i want to upload the text file through html and insert those data
<html:text structs - Struts
Introduction to HTML
for Hyper Text Markup Language. Using HTML we can create a Web Page which can.... Formatting Elements There are three basic formatting elements used in HTML... Introduction to HTML     
Button text is not displaying properly in jre 1.6.0_22 when html tags are used in the textstring
Button text is not displaying properly in jre 1.6.0_22 when html tags are used in the textstring  using html string to jbutton text is not working in Java 1.6.0_22 when browser is using the existing java console this.setText
To get the value of more than one text box in an HTML page to a jsp page - JSP-Interview Questions
To get the value of more than one text box in an HTML page to a jsp page  An html file has a text box as To get the value of this text box in a JSP.... With regards   All controls(Text box, combo box....) in an html file
How to get the text from textarea in HTML and store it in database using javascript and jsp
How to get the text from textarea in HTML and store it in database using javascript and jsp  How to get the text from textarea in HTML and store it in database using javascript and jsp <script> function str() { <
HTML
HTML  in html how can we can upload the file <tr> <...; <input type="text" name="Video of the work:" size="30"> </b>... the file give me the code for this in html and java
Html
:48:44 PM Author : SAMSUNG --%> <%@page contentType="text/html" pageEncoding="UTF-8"%> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01...; <head> <meta http-equiv="Content-Type" content="text/html
Html
:48:44 PM Author : SAMSUNG --%> <%@page contentType="text/html" pageEncoding="UTF-8"%> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01...; <head> <meta http-equiv="Content-Type" content="text/html
how to retrieve text and images from mysql database and show on html page using jsp servlet
how to retrieve text and images from mysql database and show on html page using jsp servlet  <%@ page language="java" contentType="text/html; charset=ISO-8859-1" pageEncoding="ISO-8859-1"%> Insert title here h3
HTML
HTML  What is Semantic HTML? What are the reasons for validating a HTML
HTML
HTML  What is Semantic HTML? What are the reasons for validating a HTML
HTML
HTML  What is SPAN in HTML
html
html   HTML document with Javascript to count the number of vowels in a text typed in text area. please send the code.   Hi Ravi Here... HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <HTML> <HEAD>
HTML
HTML  What is HTML? What is a Hypertext link
HTML
HTML  What is HTML? What is a Hypertext link
Html
Html  What is HTML? What is a Hypertext link
HTML
HTML  What is BODY in HTML document
html
html  diffrence between html and xml
html
html  How to add the calendar in html code
Html
Html  can we send data from one html page to another html page...:</td> <td><input type=text name=firstname size=10></td>...=text name=lastname size=10></td> </tr> <tr> <td>Age
html
add a header in the html page  what we can do to add a header in the html page

Ads