Welcome to the Treehouse Community

The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.

HTML

Some Q~

What is <div id> exactly mean?

Needless to say I don't understand what your asking. Could you elaborate.

James Barnett
James Barnett
39,199 Points

My guess is you tried to post some code and the formatting is messed up.

The forum uses markdown to correctly format code, check out this thread on how to type code in the forum for some examples.

Dave McFarland
Dave McFarland
Treehouse Teacher

Hi, looks like you put some HTML in your forum post. You need to do that in a special way. To put HTML/CSS/JavaScript in a forum post:

  1. hit return to create a new line and type three back tick characters ```

  2. hit return to create another new line and paste your HTML

  3. hit return and add three more back tick characters: ``` The back tick character isn't the same as the single quote -- ' -- mark; the back tick is located on the same key as the ~ on most keyboards.

Also to add correct color highlighting add the name of the language after the back ticks like this: ```CSS. Here's what CSS should look like in a forum post:

#gallery li {
  float: left;
  width: 45%;
}

I've gone ahead and fixed that in your initial question, but keep this in mind when you need to ask another question and put HTML/CSS/JavaScript in it.

2 Answers

Thx for that English lesson,I'll try to make it readable.next time~

James Barnett
James Barnett
39,199 Points

I think the confusion here comes from your code not being readable so instead of:

What does <div id> mean exactly?

We saw:

What is exactly mean?

Wayne Priestley
Wayne Priestley
19,579 Points

Hi Yu,

The word exactly means very accurate. You could say tell me exactly what your friend told you. That would mean telling me every word you friend told you without leaving anything out.

Ah Wayne Priestley is on it:)