Markdown Syntax
1. Headings
# Heading 1
## Heading 2
### Heading 3
#### Heading 4
##### Heading 5
###### Heading 6
2. Text Formatting
-
Bold:
**bold**
or__bold__
-
Italic:
*italic*
or_italic_
-
Bold+Italic:
***text***
or___text___
Strikethrough:~~text~~
3. Lists
Unordered Lists
- First item
- Second item
- Nested item
- Another nested item
* Alternative item
+ Another alternative
Ordered Lists
1. First item
2. Second item
1. Nested item
2. Another nested item
3. Third item
4. Links & Images
[Link Text](https://example.com)
[Link Text](https://example.com "Title")

[](https://example.com)
5. Code
Inline Code
`inline code`
Code Blocks
```javascript
function example() {
return "hello world";
}
```
6. Tables
| Header 1 | Header 2 | Header 3 |
|----------|-----------|-----------|
| Cell 1 | Cell 2 | Cell 3 |
| Col 1 | Col 2 | Col 3 |
| Left | Center | Right |
|:-----|:------:|------:|
|Left |Center |Right |
7. Blockquotes
> This is a blockquote
> Multiple lines
>> Nested blockquote
8. Horizontal Rules
---
***
___
9. Task Lists
- [x] Completed task
- [ ] Incomplete task
- [x] Another completed task
10. Footnotes
Here's a sentence with a footnote[^1].
[^1]: This is the footnote.
11. Definition Lists
Term
: Definition
: Another definition
HTML Syntax
1. Document Structure
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Page Title</title>
</head>
<body>
<!-- Content goes here -->
</body>
</html>
2. Text Elements
<h1>
to<h6>
– Headings<p>
– Paragraph<br>
– Line break<hr>
– Horizontal rule<strong>
or<b>
– Bold<em>
or<i>
– Italic<mark>
– Highlighted text<sub>
– Subscript<sup>
– Superscript
3. Lists
<!-- Unordered List -->
<ul>
<li>Item 1</li>
<li>Item 2</li>
</ul>
<!-- Ordered List -->
<ol>
<li>First item</li>
<li>Second item</li>
</ol>
<!-- Description List -->
<dl>
<dt>Term</dt>
<dd>Description</dd>
</dl>
4. Links & Images
<!-- Links -->
<a href="url">Link text</a>
<a href="url" target="_blank">Opens in new tab</a>
<!-- Images -->
<img src="image.jpg" alt="Description">
<img src="image.jpg" alt="Description" width="300" height="200">
5. Forms
<form action="/submit" method="post">
<label for="username">Username:</label>
<input type="text" id="username" name="username">
<input type="password" name="password">
<input type="email" name="email">
<input type="number" name="age">
<input type="checkbox" name="subscribe">
<input type="radio" name="gender">
<select name="country">
<option value="us">USA</option>
</select>
<textarea name="message"></textarea>
<button type="submit">Submit</button>
</form>
6. Tables
<table>
<thead>
<tr>
<th>Header 1</th>
<th>Header 2</th>
</tr>
</thead>
<tbody>
<tr>
<td>Data 1</td>
<td>Data 2</td>
</tr>
</tbody>
</table>
7. Semantic Elements
<header>
– Header section<nav>
– Navigation links<main>
– Main content<article>
– Independent content<section>
– Grouped content<aside>
– Sidebar content<footer>
– Footer section
8. Media Elements
<!-- Audio -->
<audio controls>
<source src="audio.mp3" type="audio/mpeg">
</audio>
<!-- Video -->
<video width="320" height="240" controls>
<source src="video.mp4" type="video/mp4">
</video>
Frequently Asked Questions
What is Markdown?
A:Markdown is a lightweight markup language designed to be easy to read and write. It converts plain text to formatted HTML, making it ideal for documentation and simple content creation.
Q: What is Md-Editor?
A: Md-Editor is a free, secure, and feature-rich online converter that
empowers users to seamlessly transform content between Markdown (MD)
and HTML formats. Designed for developers, writers, and SEO
professionals, it offers:
Core Features
✅ Bidirectional Conversion Convert Markdown → HTML for web-ready code
Convert HTML → Markdown for simplified editing
✅ Real-Time Preview Split-screen interface with instant rendering
Visualize formatting for headings, lists, tables, code blocks, and
more
✅ Zero Data Retention No registration required No files or
content stored on servers (fully GDPR-compliant)
✅ Advanced
Security SSL-encrypted sessions Local browser processing (data never
leaves your device)
Q: How can I convert Markdown to HTML?
A: You can use tools like “md-editor.com”
Q: Can I convert HTML back to Markdown?
A: Yes, tools like “md-editor.com” can do make HTML code to Markdown format
What is HTML?
A: HTML (HyperText Markup Language) is the standard markup language for creating web pages and web applications. It provides the structure and content of a webpage.
When should I use Markdown vs HTML?
A: Use Markdown for simple content formatting like documentation, README files, or blog posts. Use HTML when you need more complex layouts, specific styling, or web-specific features like forms and interactive elements.
Can I use HTML within Markdown?
A: Yes, most Markdown processors allow you to include HTML tags directly in your Markdown content. This is useful when you need formatting options that aren’t available in Markdown.
What are the main differences between Markdown and HTML?
A: Markdown is simpler and more readable but less powerful. HTML offers more control over structure and styling but is more verbose. Markdown is best for content, while HTML is better for layout and interaction.
Q: Is Md-Editor free to use?
A: Yes! 100% free with no hidden costs or ads.
Q: Does Md-Editor store converted text?
A: Never. Conversions happen locally in your browser.
Q: What Markdown flavors are supported?
A: Full GitHub Flavored Markdown (GFM) + CommonMark standards.
Q: Can I use this for commercial projects?
A: Absolutely – no restrictions on usage.