PrepAway - Latest Free Exam Questions & Answers

Which markup segments should you include in Target 1, T…

DRAG DROP
You are building an ASP.NET MVC web application.
The application will be viewed by users on their mobile phones.
You need to ensure that the page fits within the horizontal width of the device screens.
You have the following markup:

Which markup segments should you include in Target 1, Target 2 and Target 3 to complete the markup? (To
answer, drag the appropriate markup segments to the correct targets. Each line of code may be used once,
more than once, or not at all. You may need to drag the split bar between panes or scroll to view content.)
Select and Place:

PrepAway - Latest Free Exam Questions & Answers

Answer:

Explanation:
The viewport <meta> tag in the ASP.NET MVC 4 layout file (/Views/Shared/_Layout.cshtml) sets the viewport tothe device width. The following line shows the viewport <meta> tag in the ASP.NET MVC 4 layout file.
<meta name=”viewport” content=”width=device-width”>
https://www.codeproject.com/Articles/472005/Techniques-for-Mobile-friendly-ASP-NET-MVC-web


Leave a Reply