Question-1: What is Contex API

Answer: Contex api use for share data globaly. Contex api helps to share data without props. It can share data without pros drilling.

Question-2: What is Semantics Tag

Answer: Semantics tags are meaningfull tags. A semantic element clearly describes its meaning to both the browser and the developer.

Some Sematics tag:

  • <article>
  • <aside>
  • <figure>
  • <figcaption>
  • <section>
  • <header>
  • <footer>
  • <main>
  • <mark>
  • <nav>
  • <summary>
  • <time>

Question-3: Write the difference between inline and inline block element.

Answer:

Difference between Inline and Inline block
BlockInlineInline block
Block element supports all kind of stylesInline doesn’t support height width, only support margin left, right.Inline Block supports margin, height, width.
Block element always start on a new line.An inline element does not start on a new line.Inline block looks like block element but it also does not start on a new line.

Contact us:

Phone: +037096-5743

E-mail: trustreviewer@trust.com

About usOur blogs

© Copy right Trust Reviewer 2022. All right reserverd.