Check out example codes for "hr css mdn". It will help you in understanding the concepts better.

Code Example 1

/* Answer to: "hr css mdn" */

/*
  The HTML <hr> element represents a thematic break between
  paragraph-level elements: for example, a change of scene in a
  story, or a shift of topic within a section.

  Here's the documentation to this <hr> (Horizontal Rule) tag:
  https://developer.mozilla.org/en-US/docs/Web/HTML/Element/hr
*/

Learn ReactJs, React Native from akashmittal.com