Jump to content

HELP

Go to solution Solved by Squarq,

You can use header tags such as <h1> <h2> h3> etc. . . As you increase the number, the font gets smaller. A <p> tag should work just fine though if you're trying to write a sentence.

Hello I want to know how to make a sentence in HTML. I know there are the <p> and </p> tags for paragraphs but i'm not sure if there is anything just for sentences.

Thanks in advance  

Duh_Tech

I am a computer and aviation enthusiast. I have a good enough PC. 

Link to comment
https://linustechtips.com/topic/625352-help/
Share on other sites

Link to post
Share on other sites

A sentence doesn't have its own semantic markup (so sentences don't need a tag around them), because the full stop (period) is a semantic marker to divide the paragraphs. However, if you want it in a tag to style it or something like that, you should use <span>.

The sentence should go inside another tag though, and for the main content of your page that will usually be <p>. You can inspect element on this post to see what markup was used to make it - you'll find that each paragraph is a <p>, and the text is directly inside that.

HTTP/2 203

Link to comment
https://linustechtips.com/topic/625352-help/#findComment-8071374
Share on other sites

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×