Skip to content

Instantly share code, notes, and snippets.

@adriculous
Created April 13, 2016 04:31
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save adriculous/4da57440f5074f08d28f6d9c1d1b1baa to your computer and use it in GitHub Desktop.
Save adriculous/4da57440f5074f08d28f6d9c1d1b1baa to your computer and use it in GitHub Desktop.
Markdown for Writers and Hobbyists (Part 3) - Plain Text Sample
What’s a div tag?
A div tag is an HTML general container tag that doesn’t really have any specific functions unless they are being defined with other attributes, such as CSS styling. You can find more info here at W3Schools and various sources around the internet. Google is everybody’s best friend.
Here’s an example of a div tag code in action:
<div class="container">
<div class="my-message">
<p>This is a sample of a section of a site using this tag. Pretty cool, huh?</p>
</div>
</div>
You can learn more about HTML in the following sites:
W3Schools
Codeacademy
W3C
… and plenty more sites around the interwebs!
Can Markdown do everything and then automatically convert to HTML?
Not really. Sometimes we would need to mix in a few HTML tags along with Markdown whenever we try to style some text in a certain way. Like this, for example:
The NINPOJineous
It’s the site that we’re on!
You see that text above? We need to use some HTML to create this style because Markdown can’t style that on its own.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment