answersLogoWhite

0

What is the HTML code to make a multi line string?

Updated: 8/21/2019
User Avatar

Wiki User

9y ago

Best Answer

If you want to force a line break use the <br/> tag to force the browser to begin displaying text on the next line. If you want the text to wrap automatically in the browser (even when resized) enclose the text in the <p>paragraph</p> tags.

User Avatar

Wiki User

9y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: What is the HTML code to make a multi line string?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

How do you put comment statement in php?

For one line comment // Your one-line comment here For multi line comments /* * Multi-line comments here * some explanation * @author The author of the code * @version The version of the code * @date The date code was written * @params The parameters of the code * @return What is returned. For eg. a string, a number or a boolean */ Not everything written is multi-line is essential. Just write a comment in way that you and people who see your code in the future understand what that piece of code does


What should be the first line of your HTML file?

The first line of your HTML file should start with &lt;!DOCTYPE HTML PUBLIC.... The first line of the actual HTML code begins with the &lt;html&gt; tag.


How do you insert a horizontal line in code?

By code what kind of code do you mean? If HTML, then &lt;hr/&gt;, if normal wikitext/BBCode, ----.


What is the code for inserting a line break?

Line breaks are inserted using the empty BR entity: &lt;br /&gt; You can enclose a paragraph inside a P entity: &lt;p&gt;This is a paragraph&lt;/p&gt; Check the w3schools.org site for HTML how to's.


What is the full form of BR in HTML?

The correct HTML form for BR is . BR is a tag to force a line break. It was introduced as a single tag, with no companion tag. The and tags work with older HTML, but for HTML 5, you need to have an ending tag for each tag. You can create your own ending tag by adding forward slash within the single tag: .


How you convert int to string in jsp?

The same way you would in a regular java program. int i = 10; String s = i + ""; after the above line of code the variable s will have "10" as a string value...


What is the difference between in-line style and the internal sheets?

Inline and internal style-sheets are 2 forms of CSS in HTML file. In-line CSS is used within the code of HTML, while the internal one is used at the beginning.


What does HTML mean in ict?

Html means when u make a website u click view click code and then tipe &lt;marquee&gt; in then cut &lt;/marquee&gt; to the end of the line click view then click design and u have made a html


Is HTML code line breaks important. Source code spacing gets changed when uploading by FTP.?

Whitespace (spaces, tabs, newlines) have no meaning in HTML. So if your whitespace coding is being changed, no worries. It doesn't mean anything. That's why we have the non-breaking space entity (&amp;nbsp;) in HTML.


In computer terms what does the phrase 'java string replace' mean?

When referring to computer terms, the phrase "java string replace" means that a string in the line of code that Java uses, is being replaced, or needs to be replaced.


What is the purpose of the PRE tags in HTML code?

It does preformatted text. It displays text in a plain font and it preserves any line breaks, which normally does not happen in html. It also keeps spaces, so the text will look like it is typed in the source code.


What is the HTML code to create a space?

Use: &lt;P&gt; new paragraph&lt;/p&gt; or &lt;br&gt;Line break (no closing tag required)