Not without another mechanism coded to sort out that problem.
You could do it this way though:
create table p {
id BIGINT PRIMARY KEY AUTOINCREMENT,
value TEXT
}
then you pull as many characters as you like, but supply the start and end tag.
select '<p>' || substring( p.value, from 1, for 255 ) || '</p>' from p where id = 1;
|| is a concatenation, and the syntax is postgresql but you should be able to translate into whatever.
If a value contains HTML markup though, then it may still not work. You would need the value to be text, etc. You could filter after perhaps, or build a function to scan for markup and drop it.