fix(guide): simplify directory structure

This commit is contained in:
Mrugesh Mohapatra
2018-10-16 21:26:13 +05:30
parent f989c28c52
commit da0df12ab7
35752 changed files with 0 additions and 317652 deletions

View File

@ -0,0 +1,34 @@
---
title: HTML Method
---
# HTML Method
The Jquery `.html()` method gets the content of a HTML element or sets the content of an HTML element.
## Getting
To return the content of a HTML element, use this syntax:
```javascript
$('selector').html();
```
For example:
```javascript
$('#example').html();
```
## Setting
To set the content of a HTML element, use this syntax:
```javascript
$('selector').html(content);
```
For example:
```javascript
$('p').html('Hello World!');
```
That will set the content of all of the `<p>` elements to Hello World!
### More Information
[W3Schools](https://www.w3schools.com/jquery/html_html.asp)