Welcome to image alignment! The best way to demonstrate the ebb and flow of the various image positioning options is to nestle them snuggly among an ocean of words. Grab a paddle and letโs get started.
On the topic of alignment, it should be noted that users can choose from the options ofย None,ย Left,ย Right, andย Center. In addition, they also get the options ofย Thumbnail,ย Medium,ย Largeย &ย Fullsize.
The image above happens to beย centered.
The rest of this paragraph is fillerย for the sake of seeing the text wrap around the 150ร150 image, which is left aligned.
As you can see the should be some space above, below, and to the right of the image. The text should not be creeping on the image. Creeping is just not right. Images need breathing room too. Let them speak like you words. Let them do their jobs without any hassle from the text. In about one moreย sentenceย here, weโll see that the text moves from the right of the image down below the image inย seamlessย transition. Again, letting the do itโs thang.ย Mission accomplished!
And now for a massively large image. It also has no alignment.
The image above, though 1200px wide, should not overflow the content area. It should remain contained with no visible disruption to the flow of content.
And now weโre going to shift things to the right align. Again, there should be plenty of room above, below, and to the left of the image. Just look at him thereโฆ Hey guy! Way to rock that right side. I donโt care what the left aligned image says, you look great. Donโt let anyone else tell you differently.
In just a bit here, you should see the text start to wrap below the right aligned image and settle in nicely. There should still be plenty of room and everything should be sitting pretty.ย Yeahโฆ Just like that. It never felt so good to be right.
And just when you thought we were done, weโre going to do them all over again with captions!
The image above happens to beย centered. The caption also has a link in it, just to see if it does anything funky.
The rest of this paragraph is fillerย for the sake of seeing the text wrap around the 150ร150 image, which is left aligned.
As you can see the should be some space above, below, and to the right of the image. The text should not be creeping on the image. Creeping is just not right. Images need breathing room too. Let them speak like you words. Let them do their jobs without any hassle from the text. In about one moreย sentenceย here, weโll see that the text moves from the right of the image down below the image inย seamlessย transition. Again, letting the do itโs thang. Mission accomplished!
And now for a massively large image. It also has no alignment.
The image above, though 1200px wide, should not overflow the content area. It should remain contained with no visible disruption to the flow of content.
And now weโre going to shift things to the right align. Again, there should be plenty of room above, below, and to the left of the image. Just look at him thereโฆ Hey guy! Way to rock that right side. I donโt care what the left aligned image says, you look great. Donโt let anyone else tell you differently.
In just a bit here, you should see the text start to wrap below the right aligned image and settle in nicely. There should still be plenty of room and everything should be sitting pretty. Yeahโฆ Just like that. It never felt so good to be right.
And thatโs a wrap, yo! You survived theย tumultuousย waters of alignment. Image alignment achievement unlocked!
Header one
Header two
Header three
Header four
Header five
Header six
Blockquotes
Single line blockquote:
Stay hungry. Stay foolish.
Multi line blockquote with a cite reference:
People think focus means saying yes to the thing youโve got to focus on. But thatโs not what it means at all. It means saying no to the hundred other good ideas that there are. You have to pick carefully. Iโm actually as proud of the things we havenโt done as the things I have done. Innovation is saying no to 1,000 things. Steve Jobs โ Apple Worldwide Developersโ Conference, 1997
Tables
Employee | Salary | |
---|---|---|
John Saddington | $1 | Because thatโs all Steve Jobโ needed for a salary. |
Tom McFarlin | $100K | For all the blogging he does. |
Jared Erickson | $100M | Pictures are worth a thousand words, right? So Tom x 1,000. |
Chris Ames | $100B | With hair like that?! Enough saidโฆ |
Definition Lists
Definition List Title Definition list division. Startup A startup company or startup is a company or temporary organization designed to search for a repeatable and scalable business model. #dowork Coined by Rob Dyrdek and his personal body guard Christopher โBig Blackโ Boykins, โDo Workโ works as a self motivator, to motivating your friends. Do It Live Iโll let Bill OโReilly will explain this one.
Unordered Lists (Nested)
- List item one
- List item one
- List item one
- List item two
- List item three
- List item four
- List item two
- List item three
- List item four
- List item one
- List item two
- List item three
- List item four
Ordered List (Nested)
- List item one
- List item one
- List item one
- List item two
- List item three
- List item four
- List item two
- List item three
- List item four
- List item one
- List item two
- List item three
- List item four
HTML Tags
These supported tags come from the WordPress.com code FAQ.
Address Tag 1 Infinite LoopCupertino, CA 95014United States
Anchor Tag (aka. Link)
This is an example of a link.
Abbreviation Tag
The abbreviation srsly stands for โseriouslyโ.
Acronym Tag
The acronym ftw stands for โfor the winโ.
Big Tag
These tests are a big deal, but this tag is no longer supported in HTML5.
Cite Tag
โCode is poetry.โ โAutomattic
Code Tag
You will learn later on in these tests that word-wrap: break-word;
will be your best friend.
Delete Tag
This tag will let you strikeout text, but this tag is no longer supported in HTML5 (use the <strike>
instead).
Emphasize Tag
The emphasize tag should italicize text.
Insert Tag
This tag should denote inserted text.
Keyboard Tag
This scarsly known tag emulates keyboard text, which is usually styled like the <code>
tag.
Preformatted Tag
This tag styles large blocks of code.
.post-title { margin: 0 0 5px; font-weight: bold; font-size: 38px; line-height: 1.2; }
Quote Tag
Developers, developers, developersโฆ โSteve Ballmer
Strong Tag
This tag shows bold text.
Subscript Tag
Getting our science styling on with H2O, which should push the โ2โณ down.
Superscript Tag
Still sticking with science and Isaac Newtonโs E = MC2, which should lift the 2 up.
Teletype Tag
This rarely used tag emulates teletype text, which is usually styled like the <code>
tag.
Variable Tag
This allows you to denote variables.
Blah blah blah
blah blah blah
blah blah blah
07/27/18
Caching
- PHP caching – Varnish, OPcache, Zen Cache, HHVM
- MySQL/MariaDB/Database caching, stuff like memached
- Page caching with wordpress plugins
- ob_start();
- $something = ob_get_contents();
- ob_end_clean();
- $something = entire generated output of that page. Put it in a file and serve that next request instead of processing php/mysql again
- Keep in mind in enqueue scripts functions the dependencies
- Page caching in the browser – plugins, htaccess, expires headers, etc
CDNs Content Delivery Networks
- Sucuri WAF
- Cloudflare
- Stackpath
Regular expressions & preg_match
Vue-Cli, AACT last week while Zim is out in August