mirror of
https://github.com/atapas/html-tips-tricks.git
synced 2024-11-16 08:48:26 +01:00
added code tag snippet instead of images
This commit is contained in:
parent
8da5f0164b
commit
76becd4e73
1 changed files with 9 additions and 2 deletions
|
@ -26,7 +26,14 @@
|
||||||
<summary>see code:</summary>
|
<summary>see code:</summary>
|
||||||
<p>
|
<p>
|
||||||
The code to implement this editable content function in a list is as below:<br>
|
The code to implement this editable content function in a list is as below:<br>
|
||||||
<img src="../code-example-images/content-editable.png" alt="couldn't load image"/>
|
```html
|
||||||
|
<h2> Shoppping List (Content Editable) </h2>
|
||||||
|
<ul class="content-editable" contenteditable="true">
|
||||||
|
<li> 1. Milk </li>
|
||||||
|
<li> 2. Bread </li>
|
||||||
|
<li> 3. Honey </li>
|
||||||
|
</ul>
|
||||||
|
```
|
||||||
</p>
|
</p>
|
||||||
</details>
|
</details>
|
||||||
</div>
|
</div>
|
||||||
|
|
Loading…
Reference in a new issue