Visual editor reformat
This commit is contained in:
parent
fc128fb591
commit
edeebc4c61
|
@ -140,9 +140,11 @@ Most elements can have content in between their start and end tags.
|
|||
This content can either be text or more elements.
|
||||
For example, the following HTML contains paragraph of text, with one word in bold.
|
||||
|
||||
<p>
|
||||
Hi! My <b>name</b> is Hadley.
|
||||
</p>
|
||||
```
|
||||
<p>
|
||||
Hi! My <b>name</b> is Hadley.
|
||||
</p>
|
||||
```
|
||||
|
||||
The **children** are the elements it contains, so the `<p>` element above has one child, the `<b>` element.
|
||||
The `<b>` element has no children, but it does have contents (the text "name").
|
||||
|
|
Loading…
Reference in New Issue