Technical data sheet project

WHAT ARE THE CODE ELEMENTS?
User Story #6: The .main-section elements should contain at least 5 code elements total (not each)

<code> this is code element, generally wrapped between <pre> tags.

@IAmRC1 HOW AM I USE IT ? AND HOW IT WORKS IN HTML?
PLEASE ANYONE HELP ME WITH THIS.
THANKS IN ADVANCE.

You need to have a div element with class .main-section and put 5 blocks of <code> element in it, thats what i understood from your initial question.

you can read about it here:

in short it’s used to display code in niceley formatted manner

For block of codes see the Notes section in the documentation

1 Like

In addition to what @ieahleen has given you, a review of some terms;

HTML tags vs elements vs attributes

HTML tags

Tags are used to mark up the start and end of an HTML element. The following are paragraph tags.
<p></p>

HTML elements

An element in HTML represents some kind of structure or semantics and generally consists of a start tag, content, and an end tag. The following is a paragraph element:
<p>This is the content of the paragraph element.</p>

HTML attributes

An attribute defines a property for an element, consists of an attribute/value pair, and appears within the element’s start tag. An element’s start tag may contain any number of space separated attribute/value pairs.
The most popular misuse of the term “tag” is referring to alt attributes as “alt tags”. There is no such thing in HTML. Alt is an attribute, not a tag.
<img src="foobar.gif" alt="A foo can be balanced on a bar by placing its fubar on the bar's foobar.">