Do you want BuboFlash to help you learning these things? Or do you want to add or correct something? Click here to log in or create user.



#html #programming

The main parts of our element are:

  1. The opening tag: This consists of the name of the element (in this case, p), wrapped in opening and closing angle brackets. This states where the element begins, or starts to take effect — in this case where the start of the paragraph is.
  2. The closing tag: This is the same as the opening tag, except that it includes a forward slash before the element name. This states where the element ends — in this case where the end of the paragraph is. Failing to include a closing tag is a common beginner error and can lead to strange results.
  3. The content: This is the content of the element, which in this case is just text.
  4. The element: The opening tag plus the closing tag plus the content equals the element.
If you want to change selection, open document below and click on "Move attachment"

Getting started with HTML - Learn web development | MDN
d by itself, we could specify that it is a paragraph by enclosing it in a paragraph tag (

) element:

My cat is very grumpy

Anatomy of an HTML element Let's explore our paragraph element a bit further: The main parts of our element are: The opening tag: This consists of the name of the element (in this case, p), wrapped in opening and closing angle brackets . This states where the element begins, or starts to take effect — in this case where the start of the paragraph is. The closing tag: This is the same as the opening tag, except that it includes a forward slash before the element name. This states where the element ends — in this case where the end of the paragraph is. Failing to include a closing tag is a common beginner error and can lead to strange results. The content: This is the content of the element, which in this case is just text. The element: The opening tag plus the closing tag plus the content equals the element. Active learning: creating your first HTML element Edit the line below in the Input area by wrapping it with the tags and (put before it to open


Summary

statusnot read reprioritisations
last reprioritisation on suggested re-reading day
started reading on finished reading on

Details



Discussion

Do you want to join discussion? Click here to log in or create user.