Answered step by step
Verified Expert Solution
Question
1 Approved Answer
17 Given the following CSS rule: p span em { background-color: green;} which text web programming will apply this rule: * (1 Point) 0 web
17 Given the following CSS rule: p span em { background-color: green;} which text "web programming" will apply this rule: * (1 Point) 0
web programming
0web programming
Oweb programming
0web programming
18 When should you use relative path along with file name of picture in IMG tag?* (1 Point) O when the location of image file and html file are different O None of the above O when image file and html file both are on same location O path is optional and not necessary 19 One of the following PHP code checks whether the content of the variable $login follows the following rules: it must start with alpha (from k-z) followed by any alphanumeric character and its length must be between 2-5 characters. It prints :error" message otherwise. * (2 points) O f(!preg_match("/^([A-ZA-Z] [:alnum:]}{3-6)S/", Slogin)) (print("error
"); die(); } O if(!preg_match('/^ [a-zA-Z0-9] [7][:alnum:](2-5)/". Slogin) (print("error
"); die0:} O if (!preg_match("/([k-ZK-Z] [:alnum:) (2.5}$/", Slogin)) (print("error
"); die0:} O (Ipreg_match('/^ [a-zA-Z] (7)[alnum:][2-535/", Slogin)) (print("error
"); die(:) O if ( preg_match("/[k-ZK-Z] [alnum:])(2,6)/", Slogin)) (print("error
"); die0:1Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started