HTML elements consist of start and end tags. If you start the tag, you must always end it! An example of this would be:
<tagname>Text goes here...</tagname>
As you can see this tag has a start tag and an end tag.
These are some HTML Elements where you will be able to recognise the start and end of the tags:
- <
h1>Heading goes here..</h1>
This is the heading element. You can see that in the middle of the start/end tag is where you insert the heading.
- <
p>Paragraph goes here..</p>
This is the paragraph element. You can see that in the middle of the start/end tag is where you insert your paragraph.
- <
strong>Text...</strong>
This is the strong element. The strong element is used to wrap around a certain bit of text to show the strong importance of it. An example of the <strong> element would be:
<p>This is an example of a start/closing tag.<strong>You must always close the tag!</strong></p>
Outcome:
This is an example of a start/closing tag. You must always close the tag!
These are only just a few of the HTML elements. There are plenty of others but in this blog I wanted to focus on understanding the very basics of starting a tag and ending it.
Thank you for reading this blog. I hope that it has helped, in the meantime....
<strong>KEEP CODING π</strong>
Top comments (0)