Hi everyone, Is it possible to translate the MDN reference? I’m not quite good in english and sometimes i need to read to refresh the memory but i cannot understand at 100% what it’s written. Not in this case it’s just an e.g.
Hope that helps your question.
The <span>
HTML element is a generic inline container for phrasing content, which does not inherently represent anything. It can be used to group elements for styling purposes (using the class
or id
attributes), or because they share attribute values, such as lang
. It should be used only when no other semantic element is appropriate. <span>
is very much like a <div>
element, but <div>
is a block-level element whereas a <span>
is an inline element.
Example:
<p>Add the <span class="ingredient">basil</span>, <span class="ingredient">pine nuts</span> and <span class="ingredient">garlic</span> to a blender and blend into a paste.</p>
Source: <span>: The Content Span element - HTML: HyperText Markup Language | MDN
Thanks for the reply but as i written before the img, it was an example. Thanks anyway
Sorry for misunderstanding
This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.