HTML Attributes All HTML elements can have attributes Attributes provide additional information about elements Attributes are always specified in the start tag Attributes usually come in name/value pairs like: name="value" The href Attribute The <a> tag defines a hyperlink. The href attribute specifies the URL of the page the link goes to: Example: < a href ="http://isalga.blogspot.com" > Visit Isalga < /a > The src Attribute The <img> tag is used to embed an image in an HTML page. The src attribute specifies the path to the image to be displayed: Example: < img src ="img_girl.jpg" > The width and height Attributes The <img> tag should also contain the width and height attributes, which specify the width and height of the image (in pixels): Example: < img src ="img_girl.jpg" width ="500" height ="600" > ...
This is Tutorial CodeIgniter 4 for Beginner. This Framework PHP is popular used by programmer who is started develop web with framework. Requirement : 1.) (optional) Composer 2.) Xampp / Wamp / Laragon 3.) Git Install with Composer : if you have composer already installed in your computer then you're install CI framework in your computer by typing this code in terminal or gitbash $ ~ composer create-project codeigniter4/appstarter [name of your project] [name of your project] example = project-ci Wait for the installation finished then go to your project by typing $ ~ cd [name of your project] then test it by typing $ ~ php spark serve if it's run it will showing you this message Next part we will learn how to create database with migration part 2 >>
In this we will learn how to create database with migration First we need create database from mysql Activate xampp mysql then go to localhost insert your user and pass and enter the database then create database After that go to your terminal and in your directory project type this code : $ ~ php spark make:migration [your table name] Then Enter You will get notification that table have successfully created Next you will need open the migration file with code editor and edit it In function up you will need type the code to create table Read CI Documentation After finished the code then go back to terminal then type this code $ ~ php spark migrate Then you will see the notification that table successfully migrate to your database For next part we will learn create controller from cli
Comments
Post a Comment