001 | ask

3.9K 60 26
                                    

For us to be able to learn and understand things, we need to ask. You can ask me anything here related to coding.

If you have any questions, you can ask it below, so I can add it in here. Make sure to tag me, so I can put up the answer in this chapter right away. I'll try my very best to answer them <3

QUESTIONS:

001 | What are containers?

There are 4 containers: < div >,< span >, < paragraph > and the < blockquote>. Containers are for containing your css tags. They are formatted in style attributes.

002 | What is the difference between blockquote, span, div and paragraph?

They are all containers with different uses and abilities. So first off, I'm going to differentiate them by their characteristics.

Division < div >:

• can contains large bodies of text

• no default padding

• no default background

• most versatile container

Blockquote < blockquote >:

• has 10px default padding

• round corners (selected browsers)

• background default color light yellow

Span < span >:

• more used on editing colors, fonts, etc.

• no default background and padding

• can't set height or width

Paragraph < paragraph >:

• for texts only

• used to block paragraph texts

• set text margin and line height

003 | What are borders in threads?

Borders is a style attribute, so it is a code in which styles your thread. There are actually a lot of them. There are eight to be specific and each has its own style. I wish I could illustrate them here, but due to wattpad's own default setting, codes won't work in books. It only works in threads.





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