## Posts

The most important thing on the website are posts. They can be created by users with full accounts and positive karma (for a number of hubs, the input threshold for karma may be different).

## Creating a post

The process of creating a post is quite simple:

• Click on the "Add post" button on the right side of the site's header;
• select a hub that is best suited for the post's topic (or several hubs);
• if your publication is a tutorial, a lesson, or how-to, check the "Tutorial" checkbox, this will help visually identify it among others;
• give a clear title to the post, fill the post's body, use proper tags or markdown to format the text, and do not forget to specify tags;
• you can add a poll if you want;
• using the "Preview" button you can evaluate what you have done (possibly, the tag is not closed somewhere, the picture or something else is missing);
• if everything is OK, click the green button "Publish";
• if you want to make any changes to the post, use the pencil icon to the right of its title, this will allow you to edit it or remove it to drafts.

Drafts are visible only to you (draft-posts are indicated by the lock icon to the left of the post title).

## Translation

If you click on the word "post" in the phrase "I want to publish a post," then the drop-down menu will prompt you to select the second post type available for creation - "Translation". The creation mechanism is the same as for the post, but there are two additional fields "Author of the original" (here you must specify the name of the author of the original text) and "Link to the original" (here - the URL of the original page).

## Signs of good and bad post

Good post:

• Contains original content;
• Easy to read, broken into paragraphs and generally well formatted. Images are uploaded to Habrastorage;
• Written as literate as possible for the individual;
• Does not contain what is in bad posts.

• Has a flashy title like "Shock! VIDEO! VIRUSES IN MAC!";
• Overflowed with grammatical and spelling mistakes, ignores the grammatic rules in general;
• Contains images from unstable photohostings;
• Consists of information from other resources;
• Is a complaint for something;
• Contains prohibited or simply inappropriate content;
• Is an advertisement of one's own or someone else's project, service, application, site, etc.

## Allowed html-tags

When writing posts and comments, you can use the following html- and not exactly html-tags:

### Standart

Tag Description
<h1></h1>...<h4></h4>

<h1>First level heading</h1>...<h4>Fourth level heading</h4>
<img/>

To insert an image please specify the full path to the image in the src. You can align the image with the align attribute.

<img src="" alt="image alt" align="left" />
<a></a>

Link insert, the href attribute specifies the desired Internet address or anchor for navigation within the page.

<a href="http://your_link_path.ru">Link text</a>
<anchor></anchor>

The anchor tag. The anchor itself looks like this:

<anchor>Example</anchor>

The anchor link looks like this:

<a href="#Example">Link text</a>
<strong></strong>

Highlighting an important text is done out with a boldface. It is also possible to use an alternative tag <b></b>

<strong>Boldface</strong>
<em></em>

Highlighting important text on the page is done with italics. It is also possible to use an alternative tag <i></i>

<em>Italics</em>
<strike></strike>

The text between these tags will be displayed as strikeout. It is also possible to use an alternative tag <s></s>

<strike>Strikethrough text</strike>
<u></u>

The text between these tags will be displayed as underlined.

<u>Underlined text</u>
<hr/>

Tag to insert a horizontal line.

<hr/>
<blockquote></blockquote>

Use this tag to highlight quotes.

<blockquote>Quote text</blockquote>
<table></table>

Set of tags for creating a table. The <td> tag indicates a table cell, the <th> tag is a cell in the header, <tr> is the row of the table. All the contents of the table should be placed in the <table> tag.

<table>  <tr>    <th>Column 1</th>    <th>Column 2</th>     <th>Column 3</th>  </tr>  <tr>    <td>Cell 1</td>    <td>Cell 2</td>    <td>Cell 3</td>  </tr>  <tr>     <td>Cell 1</td>    <td>Cell 2</td>    <td>Cell 3</td>  </tr></table>
<sup></sup>,
<sub></sub>

The text enclosed in the <sup> tag is displayed as a superscript, <sub> tag is displayed as a subscript.

<sup>superscript</sup>, <sub>subscript</sub>
<abbr></abbr>

The <abbr> tag is an abbreviation, in the attribute title="" specify its decoding. Use the <acronym> tag for acronyms.

<abbr title="Explanation of the abbreviation">ABBR</abbr>
<acronym title="Explanation of the acronym">Acronym</acronym>
<pre></pre>

The text in the <pre> tag is not formatted automatically.

<pre>Unformatted text</pre>
<nobr></nobr>

Text placed in the <nobr> tag is wrapped at the page; For forced text wrapping, use the <br/> tag; for accurate alignment of images, use the attribute clear="all|left||right" in the tag <br />.

<nobr>Text without hyphenations</nobr>, <br clear="all|left||right" />
 <ul></ul> 

Unnumbered list; each element of the list is specified by the <li> tag, put a set of list items in the <ul> tag.

<ul>  <li>Item 1</li>  <li>Item 2</li>  <li>Item 3</li></ul>
<ol></ol>

Numbered list; each element of the list is specified by the <li> tag, put a set of list items in the <ol> tag.

<ol>  <li>Item 1</li>  <li>Item 2</li>  <li>Item 3</li></ol>

Habr special tags

Tag Description
<cut/>

It is used only in the texts of posts, it hides a part of the text that follows the tag (a button with the text "Read more" appears). To change the text on the button, use the attribute text="..."

<cut/>, <cut text="Your text"/>
<source></source>

Highlights the source code. To support the correct syntax, use the attribute lang=""

<source lang="javascript">Source code</source>
<oembed></oembed>

Insert content from other resources. Supported resources: gist.github.com, Soundcloud.com, Slideshare.net, Scribd.com and other.

<oembed>http://slideshare.net/</oembed>
<spoiler></spoiler>

Insert spoiler (expandable information block). To change the title of the spoiler, use the attribute title="…"

<spoiler title="Spoiler header">Spoiler content</spoiler>
@username

Displays the user name in the text and sends the user a notification that he was mentioned in the publication / comments. You can use the @username construct, where username is the user's name.

@username

You can also add mathematical formulas to your publications using the LaTeX markup language.

To draw formulas on a page, we use the MathJax library.

To add a formula, click on the Σ icon in the toolbar. In the resulting modal window, select the type of the formula: the string or the block.

• A string formula is used to insert a formula into a paragraph of text

• Block formula is used to insert a formula with a new line

After composing the formula, click on the button "Add formula" and it appears in the post text.

## ASP

ASP abbreviation on Habr is deciphered as the Author Support Program. In addition to recognizing the audience, authors can receive a monetary reward for good publications - obviously!

Users with at least one of the badges: "Author", "Star", "Legend" and "Old-timer" can participate in the program. And then, all you need — is just to post interesting publications or translations toprofile hubs, nothing more. You can find out more about the ASP on a separate page.

## Limitations on the number of publications

Full-fledged users can publish on the site without any prior moderation any publications that correspond to the subject matter of the resource and do not violate the rules of the community, however, there are several quantitative restrictions:

• If the user has published three materials at intervals of less than 24 hours, the next material he will be able to publish not earlier than 24 hours after the publication of the last material;
• Regardless of the indicator of karma, you can not post it in a hub "I'm advertising" 2 or more publications in a row.

## Typos

You can easily report a typo to the author by selecting a part of the text and pressing Ctrl+Enter or Cmd+Enter. You will see a form with a selected quote and a field for your comments. After you click “Send” message will be sent to the author and also will be visible in your conversations.

Only registered users can send messages. You can select any part of the text on the post page, but the quote will include only the first 220 characters. Maximum length of the comment is 500 characters.