008 | mixing codes

675 15 5
                                        

008 | mixing codes

NOTE: YOU HAVE TO GO TO THE THREAD FOR YOU TO UNDERSTAND THE LESSONS. 

+ QUESTONS ABOUT MIXING CODES

001 | How do you mix codes? 

Simple, you will have to use a container. What kind of container? That depends on the codes you'll be mixing/adding. 

002 | Does all codes works in a container? 

I'm pretty sure not all. I think the codes that are considered to be are all capable of any container.The basic codes like: bold, italic, strikethrough, etc. are not capable of mixing with codes because they aren't attributes, but are elements.


Two simple rules in mixing codes together: 

1. Always separate each css tag with a semicolon. (;)

For example,

     < div style=" font-family:times;font-size:40px;" >

As you can see, I separated each code from the other by adding semicolon. Always apply that or else your code won't work.

2. Always put a quotation mark ( " " ) before and after you put your container.

For example,

      < div style=" color:554e42;line-height:10px;" >

   As you can see, the code is enclosed by quotation marks. Always apply that or else your code won't work.

Again these are elaborated properly in the thread, post #15 or click on the external below to go directly to the post.



codebox | how to code | MAJOR EDITINGWhere stories live. Discover now