diff --git a/docs/general-usage/element-methods.md b/docs/general-usage/element-methods.md index 5b94a87..3f3ca74 100644 --- a/docs/general-usage/element-methods.md +++ b/docs/general-usage/element-methods.md @@ -68,7 +68,7 @@ Get the value of an element's attribute: ```php echo Div::attribute('data-custom', 'Attribute value') ->getAttribute('data-custom'); -// "data-custom" +// "Attribute value" ``` You may also specify a fallback value: