HTML code organization customs?

I am fairly new to HTML/CSS/PHP and website development all together. I have never taken classes to learn standards of code organization and where to place certain strips of code.
What I got for BitDegree Code Theory online tutorials is that you put CSS code and things you don’t see in the head, while you put the rest of your content in your body. Should I put my Title in my header? What is the standard for html code placement? Is the head tag just simply a way to organize your code differently, or does it possess different capabilities?
My general format is:

HTML
Head
style
…CSS CODE…
/style
Title"name" /Title
link … to favicon
/head

Body
body paragraphs and pictures and content
/body
/html

@loganheller

It’s all correct.
Just move the <title>Name</title>
above style tag.
Actually it’s not a problem either.

If you’ve any issues, feel free to ask or PM me :slight_smile:

Thank you!
Also, is it customary to indent tags? If so does the text editors your websites offer have any way to indent without tabbing? If not, I can always just use notepad++ and then upload them

File Manager editor is just like notepad. Also, it does not support all sets of characters.

I strongly suggest you to use Notepad++ to edit your files and then upload them through FTP :wink:

1 Like