Is there a difference between the self closing links between the colored markers and registration form projects?

*For the colored markers project, the link code is:

<link rel="stylesheet" type="text/css" href="styles.css">

*But for the Registration form, the correct link is this:

<link rel="stylesheet" type="text/css" href="styles.css" />

Is there really a difference whether you put the “/” before the closing “>” or is it really the same thing? The first link was marked correct for the colored markers project, but the one for the registration it isnt and it mandated the “/” before the “>”.

*For some reason, the line of code isnt showing up

It is a known issue. It should hopefully get fixed at some point. The slash is optional and shouldn’t be a requirement.

I’ve edited your post for readability. When you enter a code block into a forum post, please precede it with a separate line of three backticks and follow it with a separate line of three backticks to make it easier to read.

You can also use the “preformatted text” tool in the editor (</>) to add backticks around text.

See this post to find the backtick on your keyboard.
Note: Backticks (`) are not single quotes (’).

1 Like

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.