Aquesta pàgina forma part de la documentació de Moodle en català, tot i que no ha estat traduïda encara. Podeu contribuir obertament a les tasques de traducció. Podeu consultar la Guia d'edició de la documentació i també participar ens els debats del fòrum de traductors de la documentació a moodle.org

HTML block: diferència entre les revisions

De MoodleDocs
Salta a:navegació, cerca
mCap resum de modificació
Cap resum de modificació
 
(4 revisions intermèdies per 3 usuaris que no es mostren)
Línia 1: Línia 1:
{{Blocks}}
{{Blocks}}
A '''HTML block''' is a standard [[Blocks|block]] used to add text or images on a site or course page.  The title bar can be left blank.   
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]]
[[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 [[HTML editor]] for formatting text, adding images or creating links,  switching to code view and allows any valid [[HTML in Moodle|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.
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}}
To aid with theming an administrator can, from ''Settings>Site administration>Plugins>Blocks>HTML'', toggle the ability to allow additional CSS classes to be set in individual block instances. If it is enabled, a field appears at the bottom of HTML block instance's configuration forms:
 
[[File:additionalcssclasses.png]]
 
Please note that if additional CSS classes have been added and the administration setting is then disabled, the form settings are saved in the database and will reappear if this is re-enabled.


[[Category:HTML]]


[[fr:Bloc HTML]]
[[fr:Bloc HTML]]
[[de:HTML-Block]]
[[de:Textblock]]

Revisió de 22:13, 28 nov 2012

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.

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 embedding video, sounds, Flash, and other files which can add unique elements to a course or site page.

Site administration settings

Nova funcionalitat
del Moodle 2.4!

To aid with theming an administrator can, from Settings>Site administration>Plugins>Blocks>HTML, toggle the ability to allow additional CSS classes to be set in individual block instances. If it is enabled, a field appears at the bottom of HTML block instance's configuration forms:

additionalcssclasses.png

Please note that if additional CSS classes have been added and the administration setting is then disabled, the form settings are saved in the database and will reappear if this is re-enabled.