Skip to content
View in the app

A better way to browse. Learn more.

Web Designer Forum

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

HTML or CSS

Featured Replies

Hello,

I'm currently trying learn what i can about web design/building. I've learnt some html and a little css so far and am really eager to learn more. But i was wondering am i best focussing my attention on getting html sussed before i delve too deeply into the css side of things, or should i go straight into css tutorials.

Any advie is greatly appreciated

Thanks

HTML is nothing without CSS, so really you need to combine the two ;).

And if your not learning CSS at the same time as html you can call into some bad habits....Tables,<font>, etc etc... As traxor said do both! It's quite easy to pick them up anyway if you percivere!

  • Author

Thanks for that. The reason i posed the question in the first place was because i noticed contradictions between the two. I'll stick to learning both then.

The rule of thumb is : don't use html for any styling what so ever!

The rule of thumb is : don't use html for any styling what so ever!

 

That is less a rule of thumb, more like "The most important rule in front end development EVER!" lol

 

But skidz is right - don't use html for styling at all.

 

Your site should look like a text document without the css attached.

 

Tel

If you remove the css doc, you should be seeing lots of black plain text, (Times new roman generally). A few different font sizes (headings) and a white background ;)

  • 2 months later...

Hey guys,

 

I'm learning too and I'm using this forum as my 'base' where I can branch off to learn different areas, tutorials etc.

Quick question if I may?

 

Going from what I've just read, am I right in thinking that HTML should ideally be used to just 'format' text as you would in MS Word for example? So to add in bold, fonts, paragraphs etc?

I know its not quite that simple but I'm just trying to get a rough idea.

^ No you should still use CSS to format text

 

font-weight:bold;

etc..

 

edit:

 

However paragraphs are coded in html like this..

 

<p> text here </p>

 

..and can then be styled in css like this:

p{padding:15px; border:2px #000 solid;}

Ahh cool.

 

I meant that HTML shouldnt (as a rule) be used for styling etc. I know what I mean, I just dont know the terminology to explain it...lol

Yh html is really just for structuring your content I believe..

That was going to be my next question :D

By 'content' do you mean text?

 

So how will a noob know what is classed as 'styling'? Otherwise I can imagine someone, ie me, using HTML when I should be using CSS.

 

Sorry for all the questions but I learn better this way.

Skidz basically said it a few posts above..

 

Quote skidz

If you remove the css doc, you should be seeing lots of black plain text, (Times new roman generally). A few different font sizes (headings) and a white background

 

HTML for your content ( i.e. text, pictures, links, lists etc.. )

 

Then you use CSS to style all of these things ( change colours, sizes, spacing, backgrounds, borders etc.. )

 

Hope this makes it a bit clearer for you :)

Create an account or sign in to comment

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.