open model using html code example Example 1: bootstrap modal popup Open Modal × Modal Header Some text in the modal. Example 2: html data-target modal $('#myModal').modal('show')