Formatting Question Text with HTML

Here are some commonly used HTML tags for basic profile formatting.

HTML Tag Example
A ‘br’ tag inserts a line break into the text wherever it is placed. Before the break.<br>After the break.
A ‘p’ tag marks the text inside it as a paragraph, which will cause proper spacing and margins to appear around it. This can be useful when creating questions or captions that contain a lot of text. <p>your paragraph text here</p>
An ’em’ tag marks the text inside of it as ’emphasized’. In most cases, this will cause the text to appear in italics. <em>your italicizedtext here</em>
A ‘strong’ tag marks the text inside of it as ‘strongly emphasized’. In most cases, this will cause the text to appear in bold. <strong>your bold text here</strong>
A ‘span’ tag with a font-size style attribute can be used for setting the text inside of it to a specific size. <span style=”font-size:11px”>your smaller text here</span>
A ‘span’ tag with a text-decoration style attribute can be used for adding an underline to the text inside of it. Be wary of underlines, as they can suggest to the reader that the text is a hyperlink. <span style=”text-decoration:underline”>your underlined text here</span>
An ‘a’ (anchor) tag creates a link to the web page specified in the ‘href’ attribute. The ‘target’ attribute is usually set to “_blank” so that the link opens in a blank browser window rather than closing the profile form. <a href=”http://www.pcrecruiter.net” target=”_blank”>your link text here</a>
An ‘h’ tag specifies the text within it as a heading. H1 is the highest level heading and usually appears largest, and H6 is the lowest level heading and usually appears smallest. <h1>your top heading here</h1><h2>your second heading here</h2>

 

More HTML and style options are available. You may wish to look up a beginner’s guide to HTML5 and CSS on the web for guidance.