search
  • Sign In
  • Sign Up
Password reset successful

Follow the proiects vou are interested in andi aet the latestnews about them taster

HTML text formatting

HTML text formatting

What is text formatting

HTML use The text output by the tag is formatted, such as bold or italic. These HTML tags are called formatting tags.

For example:

<!DOCTYPE html>
<html>
<head> 
<meta charset="utf-8"> 
<title>php中文网(php.cn)</title> 
</head> 
<body>
<b>加粗文本</b><br><br>
<i>斜体文本</i><br><br>
</body>
</html>

Usually the tag <strong> is used instead of the bold tag <b>, and <em> is used instead of the <i> tag.
However, the meanings of these tags are different:
<b> vs. <i> define bold or italic text.
<strong> or <em> means that the text you want to present is important, so highlight it. All major browsers today can render fonts in a variety of effects. However, future browsers may support better rendering.

##HTML text formatting tag

QQ图片20161010180129.png

Computer output tag

QQ图片20161010180552.png

Quotes, citations and definitions of terms

QQ图片20161010180625.png

new file
<!DOCTYPE html> <html> <head> <meta charset="utf-8"> <title>php中文网(php.cn)</title> </head> <body> <b>加粗文本</b><br><br> <i>斜体文本</i><br><br> </body> </html>
Reset Code
Automatic operation
submit
Preview Clear