1 文本格式化此例演示如何在一个 HTML 文件中对文本进行格式化代码如下:<html><body><b>This text is bold</b><br /><strong>This text is strong</strong><br /><big>This text is big</big><br /><em>This text is emphasized</em><br /><i>This text is italic</i><br /><small>This ...
<sub>subscript</sub> <br /> This text contains <sup>superscript</sup> </body> </html> 2.预格式文本 <pre> 适合用于代码显示,对空格和空行进行控制 (多行代码使用pre、单行代码使用code) 1 2 3 4 5 <pre> for i = 1 to 10 print i next i </pre> 3.缩写、首字母缩写 <abbr>、<acronym...
<!DOCTYPE html><html> <head><title>Publishing Text Content in HTML5 Documents</title></head> <body> <main> <article> <h1>Publishing Small Text: Using Text-Related Tags in HTML5</h1> <p>Here is the example of your subscript footnote referencing: Further Research Material<sub>[1]</sub...
Subscript Nine ₉ U+02089 ₉ ₉ \2089 Subscript Plus Sign ₊ U+0208A ₊ ₊ \208A Subscript Minus ₋ U+0208B ₋ ₋ \208B Subscript Equals Sign ₌ U+0208C ₌ ₌ \208C ...
elementSmall formatting using the <small> elementMarked formatting using the <mark> elementMarked deleted using the <del> elementMarked inserted using the <ins> elementMarked deleted and inserted using <del> and <ins>Subscript formatting using the <sub> elementSuperscript formatting using the <sup>...
<sub>Subscript TextTypographical stylistic choice <sup>Superscript TextAnother typographical presentation style These tagsmustbe opened and closed around the text in question. Let’s try it out. On a new line in the HTML editor, type the following HTML code: ...
"subscript",'link','unlink'] //elementPathEnabled //是否启用元素路径,默认是显示 ,elementPathEnabled : false //wordCount ,wordCount:true //是否开启字数统计 //,maximumWords:10000 //允许的最大字符数 //字数统计提示,{#count}代表当前字数,{#leave}代表还可以输入多少字符数,留空支持多语言自动切换,否...
( positive value for superscript, negative value for subscript ) Look: <style> <!— for superscripted text —> p{ vertical-align: sup; } <!— for subscripted text —> p{ vertical-align: sub; } <!— for superscripted text —> p{ vertical-align: 10px; } <!— for subscripted tex...
<div class="col-md-3 col-sm-4"><i class="fa fa-subscript"></i> fa-subscript</div> <div class="col-md-3 col-sm-4"><i class="fa fa-suitcase"></i> fa-suitcase</div> <div class="col-md-3 col-sm-4"><i class="fa fa-sun-o"></i> fa-sun-o</div> <div class...
Subscript ObjectThe Subscript object represents an HTML <sub> element.Access a Subscript ObjectYou can access a <sub> element by using getElementById():var x = document.getElementById("mySub"); Try it Create a Subscript ObjectYou can create a <sub> element by using the document....