- 1 of 4
- ››
Allowed HTML tags: <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd>
Acest sit permite conţinut HTML. În timp ce învăţatul întregului limbaj HTML poate părea înspăimântător, învăţarea folosirii câtorva "etichete" (taguri) HTML este rapidă şi uşoară. Acest tabel vă prezintă exemple pentru fiecare tag permis pe acest sit.
Pentru mai multe detalii, urmăriţi Specificaţiile HTML de la W3C sau folosiţi motorul dumneavoastră de căutare preferat pentru a găsi alte situri ce explică gramatica HTML.
| Descrierea tag-ului | Tu scrii | Tu primeÅŸti |
|---|---|---|
| Ancorele sunt folosite pentru a face legături către alte pagini. | <a href="http://www.fedoraproject.ro">fedoraproject.ro</a> | fedoraproject.ro |
| Accentuat | <em>Accentuat</em> | Accentuat |
| Aldin | <strong>Aldin</strong> | Aldin |
| Citat | <cite>Citat</cite> | Citat |
| Text codificat pentru a exemplifica sursele codurilor de programare | <code>Codat</code> | Codat |
| Listă neordonată - pentru a începe fiecare element din listă utilizează <li> | <ul> <li>Primul articol</li> <li>Al doilea articol</li> </ul> |
|
| Listă ordonată - pentru a începe fiecare element din listă utilizează <li> | <ol> <li>Primul articol</li> <li>Al doilea articol</li> </ol> |
|
| Listele de definiţii sunt similare cu alte liste HTML. <dl> începe lista de defint, <dt> începe termenul de definit şi <dd> începe descrierea de definit. | <dl> <dt>Primul termen</dt> <dd>Prima definiţie</dd> <dt>Al doilea termen</dt> <dd>A doua definiţie</dd> </dl> |
|
Most unusual characters can be directly entered without any problems.
If you do encounter problems, try using HTML character entities. A common example looks like & for an ampersand & character. For a full list of entities see HTML's entities page. Some of the available characters include:
| Descrierea caracterului | Tu scrii | Tu primeÅŸti |
|---|---|---|
| Ampersand | & | & |
| Mai mare | > | > |
| Mai mic | < | < |
| Ghilimele | " | " |
Syntax highlighting of source code can be enabled with the following tags:
Options and tips:
apache" (for Apache configuration), "applescript" (for AppleScript), "apt_sources" (for Apt sources), "bash" (for Bash), "c" (for C), "cpp" (for C++), "diff" (for Diff), "drupal5" (for Drupal 5), "drupal6" (for Drupal 6), "gettext" (for GNU Gettext), "html4strict" (for HTML), "ini" (for INI), "java" (for Java), "javascript" (for Javascript), "make" (for GNU make), "mysql" (for MySQL), "perl" (for Perl), "php" (for PHP), "python" (for Python), "sql" (for SQL), "text" (for Text), "vim" (for Vim Script), "xml" (for XML), "xorg_conf" (for Xorg configuration).<foo>, [foo].Defaults:
Examples:
| You type | You get |
|---|
Break long pages into smaller ones by means of a page break tag (e.g. <!--pagebreak-->):
First page here. <!--pagebreak--> Second page here. <!--pagebreak--> More pages here.
Automatic page breaking based on character or word count is also supported.
Video Filter
You may insert videos from popular video sites by using a simple tag [video:URL].
Examples:
[video:http://www.youtube.com/watch?v=uN1qUeId][video:http://www.youtube.com/watch?v=uN1qUeId1,http://www.youtube.com/watch?v=uN1qUeId2][video:http://www.youtube.com/watch?v=uN1qUeId autoplay:1][video:http://www.youtube.com/watch?v=uN1qUeId width:X height:Y][video:http://www.youtube.com/watch?v=uN1qUeId align:right]Supported sites: YouTube, Google Video, Tangle, DailyMotion, Eyespot, Revver, Vimeo, Flickr Slideshows, Flickr Video, Game Videos, Meta Cafe, Game Trailers, College Humor, MySpace, Capped, Blip.tv, Slideshare, Picasa Slideshows.
Special instructions:
Some codecs need special input. You'll find those instructions here.[video: http://picasaweb.google.com/data/feed/base/user/USER_NAME/albumid/5568104935784209834?alt=rss&kind=photo&hl=en_US]Syntax highlighting of source code can be enabled with the following tags:
<bash>" for Bash source code, "<txt>" for Text source code.Options and tips:
apache" (for Apache configuration), "applescript" (for AppleScript), "apt_sources" (for Apt sources), "bash" (for Bash), "c" (for C), "cpp" (for C++), "diff" (for Diff), "drupal5" (for Drupal 5), "drupal6" (for Drupal 6), "gettext" (for GNU Gettext), "html4strict" (for HTML), "ini" (for INI), "java" (for Java), "javascript" (for Javascript), "make" (for GNU make), "mysql" (for MySQL), "perl" (for Perl), "php" (for PHP), "python" (for Python), "sql" (for SQL), "text" (for Text), "txt" (for Text), "vim" (for Vim Script), "xml" (for XML), "xorg_conf" (for Xorg configuration).<foo>, [foo].Defaults:
Examples:
| You type | You get |
|---|---|
<bash> | Code block with syntax highlighting for Bash source code. |
<bash start="23" fancy="7"> | Code block with syntax highlighting for Bash source code, line numbers starting from 23 and highlighted line numbers every 7th line. |
Break long pages into smaller ones by means of a page break tag (e.g. <!--pagebreak-->):
First page here. <!--pagebreak--> Second page here. <!--pagebreak--> More pages here.
Automatic page breaking based on character or word count is also supported.
Custom PHP code may be embedded in some types of site content, including posts and blocks. While embedding PHP code inside a post or block is a powerful and flexible feature when used by a trusted user with PHP experience, it is a significant and dangerous security risk when used improperly. Even a small mistake when posting PHP code may accidentally compromise your site.
If you are unfamiliar with PHP, SQL, or Drupal, avoid using custom PHP code within posts. Experimenting with PHP may corrupt your database, render your site inoperable, or significantly compromise security.
Notes:
register_globals is turned off. If you need to use forms, understand and use the functions in the Drupal Form API.print or return statement in your code to output content.template.php file rather than embedding it directly into a post or block.A basic example: Creating a "Welcome" block that greets visitors with a simple message.
Add a custom block to your site, named "Welcome". With its input format set to "PHP code" (or another format supporting PHP input), add the following in the Block body:
print t('Welcome visitor! Thank you for visiting.');
To display the name of a registered user, use this instead:
global $user;
if ($user->uid) {
print t('Welcome @name! Thank you for visiting.', array('@name' => $user->name));
}
else {
print t('Welcome visitor! Thank you for visiting.');
}
Drupal.org offers some example PHP snippets, or you can create your own with some PHP experience and knowledge of the Drupal system.
Video Filter
You may insert videos from popular video sites by using a simple tag [video:URL].
Examples:
[video:http://www.youtube.com/watch?v=uN1qUeId][video:http://www.youtube.com/watch?v=uN1qUeId1,http://www.youtube.com/watch?v=uN1qUeId2][video:http://www.youtube.com/watch?v=uN1qUeId autoplay:1][video:http://www.youtube.com/watch?v=uN1qUeId width:X height:Y][video:http://www.youtube.com/watch?v=uN1qUeId align:right]Supported sites: YouTube, Google Video, Tangle, DailyMotion, Eyespot, Revver, Vimeo, Flickr Slideshows, Flickr Video, Game Videos, Meta Cafe, Game Trailers, College Humor, MySpace, Capped, Blip.tv, Slideshare, Picasa Slideshows.
Special instructions:
Some codecs need special input. You'll find those instructions here.[video: http://picasaweb.google.com/data/feed/base/user/USER_NAME/albumid/5568104935784209834?alt=rss&kind=photo&hl=en_US]
Comentarii recente
în urmă cu 8 săptămâni 18 ore
în urmă cu 9 săptămâni 5 zile
în urmă cu 14 săptămâni 4 ore
în urmă cu 14 săptămâni 4 ore
în urmă cu 19 săptămâni 3 zile
în urmă cu 20 săptămâni 19 ore
în urmă cu 20 săptămâni 5 zile
în urmă cu 21 săptămâni 4 ore
în urmă cu 21 săptămâni 2 zile
în urmă cu 23 săptămâni 6 zile