HtmlFormatTools Extension [Free & Open Source]

use a procedure like the one I created in my aia project

I believe you should explain how your extension works. It should be clear from the description and the examples you provide, without the need to setup a project and test the extension myself.

3 Likes

okay thank you, I'll try to make it now sir

I've already mentioned this several times - now for the fourth time.

2 Likes

Okay @Anke I will make it below here :

How to Use HtmlFormatTools Extension

First you have to set the HtmlText, then you can Register the Component As the example below :


Thank you for helping me @Anke :innocent:

Hi Salman, interesting extension.

Can you state the version(s) of HTML supported and list the HTML tags that are supported?

I note that Anke has discovered a tag 'big' (shown in the Block image) that's supported by the extension, even though it is retired for HTML5 (last available in HTML4).

Thank you @ChrisWard :kissing_heart:

sorry I don't know what HTML version is supported :sweat_smile:

Congratulations @Salman_Dev. Nice extension :+1: keep it up.

1 Like

Thank you very much for your support @techVsurya :star_struck: :kissing_heart:

1 Like

You wrote an extension to enable HTML and you don't know what HTML? :koala:

2 Likes

I know what is HTML, but I don't know what version of HTML works with my extension, I think HTML5 works with my extension. :sweat_smile:

Salman, you surely have to know the HTML version and which tags your extension supports. Saying you don't know is like saying you don't know the make and model of your phone, or the name of your pet fish, or or ............ :upside_down_face:

@ChrisWard I really don't know what HTML version it supported, see this :
import android.text.Html;
just that I import for HTML :cold_sweat:

There is your clue - read the documentation on that. I suspect it might be as limited as the tags App Inventor currently supports.

Edit: Need to watchout for the compliant Android API versions too.

don't worry, I have already set it up for Android Version Nougat or higher :wink:

Great extension Salman ! :+1:


Btw, these are the supported tags by the Html class ( and probably by the extension that uses the Html class, as Salman satated above ) :grinning:

  • <br>
  • <p>
  • <ul>
  • <li>
  • <div>
  • <span>
  • <strong>
  • <b>
  • <em>
  • <cite>
  • <dfn>
  • <i>
  • <big>
  • <small>
  • <font>
  • <blockquote>
  • <tt>
  • <a>
  • <u>
  • <del>
  • <s>
  • <strike>
  • <sup>
  • <sub>
  • <img>
  • <h?> ( The heading size (? value) should be from 1 to 6 )

Source :- The Html class source

3 Likes

Thank you very much Teacher @MohamedTamer :heart_eyes: :kissing_heart:

1 Like

Hmmm... I think the supported HTML version is most likely HTML4 because tags like the <font> tag and <tt> are only supported in that version.

1 Like

do you have any documentation about that