|
|
(21 intermediate revisions by 6 users not shown) |
Line 1: |
Line 1: |
| {{Blocks}}
| | #Redirect [[Text block]] |
| A '''HTML block''' is a standard block used to add text or images on a site or course page. The title bar can be left blank.
| |
| | |
| [[File:Htmlblockexample.png]]
| |
| | |
| The block is flexible and can incorporate a variety of functions and uses in the content area. It has the standard Moodle [[Text editor]] for formatting text, adding images or creating links, switching to code view and allows any valid HTML markup to be used. This enables [[Multimedia plugins|embedding video]], [[Audio in Moodle|sounds]], [[Flash]], and other files which can add unique elements to a course or site page.
| |
| | |
| ===Site administration settings===
| |
| {{New features}}
| |
| An administrator can, from ''Settings>Site administration>Plugins>Blocks>HTML'', enable or disable the ability to allow additional CSS classes to be set in indidvual block instances. If it is enabled, a field appears at the bottom of the block:
| |
| | |
| | |
| [[File:additionalcssclasses.png]]
| |
| | |
| If additional CSS classes have been added and the setting is then disabled, the form settings are saved in the database and will reappear if this is re-enabled.
| |
| | |
| | |
| [[fr:Bloc HTML]]
| |
| [[de:Textblock]]
| |