new_contents: """
  SkCode web oriented tag test code.
  """
  
  import unittest
  
  from skcode.etree import TreeNode
  from skcode.tags import (HorizontalLineTagOptions,
                           LineBreakTagOptions,
                           DEFAULT_RECOGNIZED_TAGS)
  
  
  class HorizontalLineTagTestCase(unittest.TestCase):
      """ Tests suite for the horizontal line tag module. """
  
      def test_tag_and_aliases_in_default_recognized_tags_dict(self):
          """ Test the presence of the tag and aliases in the dictionary of default recognized tags. """
          self.assertIn('hr', DEFAULT_RECOGNIZED_TAGS)
          self.assertIsInstance(DEFAULT_RECOGNIZED_TAGS['hr'], HorizontalLineTagOptions)
  
      def test_tag_constant_values(self):
          """ Test tag constants. """
          opts = HorizontalLineTagOptions()
          self.assertFalse(opts.newline_closes)
          self.assertFalse(opts.same_tag_closes)
          self.assertTrue(opts.standalone)
          self.assertTrue(opts.parse_embedded)
          self.assertFalse(opts.swallow_trailing_newline)
          self.assertFalse(opts.inline)
          self.assertTrue(opts.close_inlines)
          self.assertFalse(opts.make_paragraphs_here)
  
      def test_render_html(self):
          """ Test the ``render_html`` method. """
          opts = HorizontalLineTagOptions()
          self.assertEqual('<hr>\n', opts.render_html(None, ''))
  
      def test_render_text(self):
          """ Test the ``render_text`` method. """
          opts = HorizontalLineTagOptions()
          self.assertEqual('----------\n', opts.render_text(None, ''))
  
      def test_render_skcode(self):
          """ Test the ``render_skcode`` method. """
          opts = HorizontalLineTagOptions()
          tree_node = TreeNode(None, 'hr', opts)
          self.assertEqual('[hr]', opts.render_skcode(tree_node, ''))
  
  
  class LineBreakTagTestCase(unittest.TestCase):
      """ Tests suite for the line break tag module. """
  
      def test_tag_and_aliases_in_default_recognized_tags_dict(self):
          """ Test the presence of the tag and aliases in the dictionary of default recognized tags. """
          self.assertIn('br', DEFAULT_RECOGNIZED_TAGS)
          self.assertIsInstance(DEFAULT_RECOGNIZED_TAGS['br'], LineBreakTagOptions)
  
      def test_tag_constant_values(self):
          """ Test tag constants. """
          opts = LineBreakTagOptions()
          self.assertFalse(opts.newline_closes)
          self.assertFalse(opts.same_tag_closes)
          self.assertTrue(opts.standalone)
          self.assertTrue(opts.parse_embedded)
          self.assertFalse(opts.swallow_trailing_newline)
          self.assertFalse(opts.inline)
          self.assertTrue(opts.close_inlines)
          self.assertFalse(opts.make_paragraphs_here)
  
      def test_render_html(self):
          """ Test the ``render_html`` method. """
          opts = LineBreakTagOptions()
          self.assertEqual('<br>\n', opts.render_html(None, ''))
  
      def test_render_text(self):
          """ Test the ``render_text`` method. """
          opts = LineBreakTagOptions()
          self.assertEqual('\n', opts.render_text(None, ''))
  
      def test_render_skcode(self):
          """ Test the ``render_skcode`` method. """
          opts = LineBreakTagOptions()
          tree_node = TreeNode(None, 'br', opts)
          self.assertEqual('[br]', opts.render_skcode(tree_node, ''))
  
subject: Add tests suite for web oriented tags.