News:

Join the Facebook Fan Page.

Main Menu

Supported Basic HTML

Started by Grammy, March 03, 2025, 08:15:02 AM

Previous topic - Next topic

Grammy

I sent out a newsletter and opted to send it in HTML format (normal HTML).  I'm wondering what HTML tags are not supported?  I just used a basic

<div style="width: 600px; text-align: justify; text-justify: inter-word;">
<span style="font-size: 15px; font-family: Arial;"><p>THE NEWS LETTER'S MESSAGE HERE, FOLLOWED BY
</p></span></div>

What I got was the screenshot attached, which is a strange mix of BBC and HTML.  You can see that the <div style="width: 600px; text-align: justify; text-justify: inter-word;"></div> rendered correctly, so HTML.  I don't understand the presence of BBC tags.  (Kinda weird that the BBC tags at the top are smaller than the BBC tags at the bottom, but I won't camp out around that.)

Should I have surrounded it all with
<html><head></head><body></body></html>
I'm confused.  Happy Monday.   :o

You cannot view this attachment.

brynn

I don't know if you're still waiting for an answer to this. But since there are no answers, and I'm waiting for a response to my own post, maybe I will post a comment.

Being a "newsletter" might imply that this is supposed to be a stand-alone page. So if it is meant to be a stand-alone page, then it should include at least the
<html></html>tags.
In the past, I have successfully omitted
<head></head>tags.
I'm not sure if I've ever tried omitting
<body></body>tags.

But for sure you need the html tags. And maybe the body tags.

If what you posted is only part of a page, then you need to look at the other code on the page, for an answer about those odd bbc tags. You must have posted this somewhere that also uses bbc? And that interface tried to fix it.

To be honest, I've never heard of that inter-word code. But heck, I'm old! But I do know that when random code is displayed on an html page, there is some bad code somewhere.

And also, that displayed code is not necessarily anywhere nearby to the bad code. As far as I know, the browser tries to read the code from top to bottom. I don't think browsers are advanced enough to use AI to figure out what codes a human meant to write. So it takes the code from top to bottom, and what is displayed often seems strange. The html has to be perfect!

Grammy

@brynn Thanks so much for the reply!

The 'inter-word' thing...  w3schools claims that when you use when text-align is set to "justify", then you should also use 'inter-word' to increase/decrease the space between words.  (But that's just me, telling you what they told me.  That doesn't mean I understand it.)   :)

What you said about the newsletter possibly being a stand-alone page makes a lot of sense.  I'll try a test one and include the html and body tags and see if that sorts it.  The thing about the rogue bbc that stumps me is that I used span tags in the html with the font-family, font-size, etc.  I'm not sure why the bbc tags kicked in.  But I'll give a another go.  Thanks again! 

brynn

Oooohhh You cannot view this attachment.
You're talking about the SMF newsletters! I thought you were talking about a stand-alone webpage that you were going to email to your members. My poor old brain....

And you checked the Send in HTML Format box? And you're asking about what html is supported by SMF.

That's where the bbc code came from. The SMF software tried to fix it, but SMF uses bbcode. That has happened to me before.

I don't know about what SMF supports as far as html. But I would stick with the most basic html. (I wonder what that option means by "normal html".) I would not be surprised if any new html code -- created in the last....maybe 5 years, is not supported. But older, very standard html should work.

I have no idea if "inter-word" is new, or if it just happens that I never noticed it before. But it can't hurt to try leaving it out, if you're still stuck.

If you can't get it to work, maybe you could try it without the html option?


Grammy

Quote from: brynn on March 14, 2025, 08:06:42 AMOooohhh You cannot view this attachment.
You're talking about the SMF newsletters! I thought you were talking about a stand-alone webpage that you were going to email to your members. My poor old brain....

And you checked the Send in HTML Format box? And you're asking about what html is supported by SMF.

That's where the bbc code came from. The SMF software tried to fix it, but SMF uses bbcode. That has happened to me before.

I don't know about what SMF supports as far as html. But I would stick with the most basic html. (I wonder what that option means by "normal html".) I would not be surprised if any new html code -- created in the last....maybe 5 years, is not supported. But older, very standard html should work.

I have no idea if "inter-word" is new, or if it just happens that I never noticed it before. But it can't hurt to try leaving it out, if you're still stuck.

If you can't get it to work, maybe you could try it without the html option?




I think you're right about newer html skewing things.  Well, I'm gonna sit down today and  just keep sending myself newsletters until I amaze myself.  ;D

Hopefully, I'll be careful to opt everyone else out of getting them.  Thanks!

Advertisement: