-
-
Notifications
You must be signed in to change notification settings - Fork 904
Supported HTML Elements
Matthew Whitaker edited this page Oct 21, 2022
·
5 revisions
<a>
<abbr>
<acronym>
<address>
<article>
<aside>
<audio>
<b>
<bdi>
<bdo>
<big>
<blockquote>
<body>
<br>
<center>
<cite>
<code>
<col>
<colgroup>
<data>
<dd>
<del>
<dfn>
<div>
<dl>
<dt>
<em>
<figcaption>
<figure>
<font>
<footer>
<h1>
<h2>
<h3>
<h4>
<h5>
<h6>
<head>
<header>
<hr>
<html>
<i>
<iframe>
<img>
<ins>
<kbd>
<li>
<main>
<mark>
<nav>
<noscript>
<ol>
<p>
<pre>
<q>
<rp>
<rt>
<ruby>
<s>
<samp>
<section>
<small>
<span>
<strike>
<strong>
<sub>
<sup>
<svg>
<table>
<tbody>
<td>
<template>
<tfoot>
<th>
<thead>
<time>
<tr>
<tt>
<u>
<ul>
<var>
<video>
<wbr>
Below are detailed guides for some of the supported HTML elements so you can make better use of available features and debug your app if you encounter problems.
You can use the onLinkTap
callback to receive all interactions with <a>
elements.
Html(
data: '<a href="https://github.com">GitHub</a>',
onLinkTap: (url) {
//Do something with url, e.g. launch(url);
},
),
Coming Soon!
Renders a horizontal bar. <hr>
is styled using the border
property. See https://www.w3schools.com/howto/howto_css_style_hr.asp for more details. Other than only producing solid
-style borders (no dashed
or dotted
), flutter_html
fully supports the code example on that page.
Coming Soon!
Coming Soon!
Coming Soon!
Coming Soon!
Coming Soon!