Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
HTML content example from SharePoint modern page Text Webpart. See image example https://ibb.co/ffB0Ge.
<p>Normal text<strong> Bold text</strong><em> italic text</em><u> Underline text </u><span class="fontSizeSmall">Font size 12 </span><a data-interception="off" href="https://www.google.com">Link</a></p>
<p><span class="fontColorThemePrimary">Color theme primary</span><span class="fontColorRed"> Color pick red</span>&nbsp; <span class="highlightColorYellow">Highlight color yellow</span></p>
<p style="text-align:center;">Centered text</p>
<p style="text-align:right;">Left text</p>
<p style="text-align:justify;">Justified text</p>
<p style="margin-left:40px;">Indent text</p>
<h2>Heading 1</h2>
<h3>Heading 2</h3>
<h4>Heading 3</h4>
<ul>
<li>bullet list</li>
</ul>
<ol>
<li>number list</li>
</ol>
<blockquote>
<p>Quote</p>
</blockquote>
<p>&nbsp;</p>
<div class="canvasRteResponsiveTable">
<div class="tableWrapper">
<table class="bandedRowTableStyleTheme" title="Table">
<tbody>
<tr>
<td>A</td>
<td><strong>B</strong></td>
<td><strong>C</strong></td>
</tr>
<tr>
<td>1</td>
<td>10</td>
<td>OK</td>
</tr>
<tr>
<td>
<p>2</p>
</td>
<td>20</td>
<td>OK</td>
</tr>
<tr>
<td>3</td>
<td>30</td>
<td>OK</td>
</tr>
</tbody>
</table>
</div>
</div>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.